Old 06-28-2015, 06:37 PM   #1
Mercado_Negro
Moderator
 
Mercado_Negro's Avatar
 
Join Date: Aug 2007
Location: Caracas, Venezuela
Posts: 8,676
Default Create folder for selected tracks

Is there a script (lua or eel preferably) for creating a folder track from selected tracks? I did a search but I couldn't find anything.
__________________
Pressure is what turns coal into diamonds - Michael a.k.a. Runaway
Mercado_Negro is offline   Reply With Quote
Old 06-28-2015, 08:11 PM   #2
jrengmusic
Human being with feelings
 
jrengmusic's Avatar
 
Join Date: Jun 2015
Location: Indonesia Raya
Posts: 684
Default

AFAIK there's a SWS action for that.

SWS: Make folder from selected tracks
jrengmusic is offline   Reply With Quote
Old 06-29-2015, 12:04 AM   #3
Mercado_Negro
Moderator
 
Mercado_Negro's Avatar
 
Join Date: Aug 2007
Location: Caracas, Venezuela
Posts: 8,676
Default

Not really. First track becomes a folder with that action. What I'm looking for is a script that put selected tracks in a folder.
__________________
Pressure is what turns coal into diamonds - Michael a.k.a. Runaway
Mercado_Negro is offline   Reply With Quote
Old 06-29-2015, 12:14 AM   #4
EricM
Human being with feelings
 
EricM's Avatar
 
Join Date: Jul 2009
Location: Ljubljana, Slovenia
Posts: 3,801
Default

A macro does the job quite nicely I've included the
action you can import in REAPER at the end of this post.





e
Attached Files
File Type: zip folder_selected_tracks.zip (377 Bytes, 421 views)
__________________
Shoelace 4 Theme | SoundCloud/erXon
EricM is offline   Reply With Quote
Old 06-29-2015, 12:17 AM   #5
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default

@Mercado
Did you try spk77 script Add folder parent track (with custom track name) (avaible on stash) ?
X-Raym is offline   Reply With Quote
Old 06-29-2015, 06:35 AM   #6
hopi
Human being with feelings
 
hopi's Avatar
 
Join Date: Oct 2008
Location: Right Hear
Posts: 15,618
Default

Eric's custom action works nicely but ONLY if the selected tracks are sequential to each other. Don't know if it is possible but it might be swell to also be able to pick out [select] no sequential tracks, and have them become children to a new parent folder. This of course would mean the overall order of tracks gets changed...
__________________
...should be fixed for the next build... http://tinyurl.com/cr7o7yl
https://soundcloud.com/hopikiva
hopi is online now   Reply With Quote
Old 06-29-2015, 07:12 AM   #7
EricM
Human being with feelings
 
EricM's Avatar
 
Join Date: Jul 2009
Location: Ljubljana, Slovenia
Posts: 3,801
Default

Quote:
Originally Posted by hopi View Post
Eric's custom action works nicely but ONLY if the selected tracks are sequential to each other. Don't know if it is possible but it might be swell to also be able to pick out [select] no sequential tracks, and have them become children to a new parent folder. This of course would mean the overall order of tracks gets changed...
That would be useful.

e
__________________
Shoelace 4 Theme | SoundCloud/erXon
EricM is offline   Reply With Quote
Old 06-29-2015, 07:21 AM   #8
Mercado_Negro
Moderator
 
Mercado_Negro's Avatar
 
Join Date: Aug 2007
Location: Caracas, Venezuela
Posts: 8,676
Default

Quote:
Originally Posted by EricM View Post
A macro does the job quite nicely I've included the
action you can import in REAPER at the end of this post.





e
Thanks, EricM. Yes, I've tried to accomplish this with macros for years but none of them work on complex situations (your macro doesn't work either on those situations). For example, take a look at this gif:



There I want to create a folder for all my guitars but even after trying with different selections your action destroys my folders setup (don't worry, this is the same with all macros I've tried over the years). At the end of the gif you can see me doing it manually and what the expected result should be.

Quote:
Originally Posted by X-Raym View Post
@Mercado
Did you try spk77 script Add folder parent track (with custom track name) (avaible on stash) ?
Nope, I'll look for it right away... hold on

Quote:
Originally Posted by hopi View Post
Eric's custom action works nicely but ONLY if the selected tracks are sequential to each other. Don't know if it is possible but it might be swell to also be able to pick out [select] no sequential tracks, and have them become children to a new parent folder. This of course would mean the overall order of tracks gets changed...
Yes, that would be the icing on the cake
__________________
Pressure is what turns coal into diamonds - Michael a.k.a. Runaway
Mercado_Negro is offline   Reply With Quote
Old 06-29-2015, 07:30 AM   #9
EricM
Human being with feelings
 
EricM's Avatar
 
Join Date: Jul 2009
Location: Ljubljana, Slovenia
Posts: 3,801
Default

@Mercado_Negro
In your case you want child tracks selected as well,
just add action in the macro

+ SWS: Select children of selected folder track(s)

as such:

...
+ SWS: Restore saved track selection
+ SWS: Select children of selected folder track(s)
+ Track: Set first selected track as last touched track
...


e
__________________
Shoelace 4 Theme | SoundCloud/erXon
EricM is offline   Reply With Quote
Old 06-29-2015, 07:30 AM   #10
Alkamist
Human being with feelings
 
Join Date: Dec 2011
Posts: 506
Default

I made this a long time ago and have been using it forever.

-------------------------------------
SWS: Save current track selection
SWS: Insert track above selected tracks
SWS: Restore saved track selection
Xenakios/SWS: Select previous tracks, keeping current selection
SWS: Select children of selected folder track(s)
SWS: Make folder from selected tracks
SWS: Restore saved track selection
-------------------------------------

A script would be nice though because it would lump it all into one undo state.
Alkamist is offline   Reply With Quote
Old 06-29-2015, 07:39 AM   #11
Mercado_Negro
Moderator
 
Mercado_Negro's Avatar
 
Join Date: Aug 2007
Location: Caracas, Venezuela
Posts: 8,676
Default

Quote:
Originally Posted by X-Raym View Post
@Mercado
Did you try spk77 script Add folder parent track (with custom track name) (avaible on stash) ?
Quote:
Originally Posted by EricM View Post
@Mercado_Negro
In your case you want child tracks selected as well,
just add action in the macro

+ SWS: Select children of selected folder track(s)

as such:

...
+ SWS: Restore saved track selection
+ SWS: Select children of selected folder track(s)
+ Track: Set first selected track as last touched track
...


e
No, that won't work either. Put your El gtr, Ac gtr and vocal tracks inside the instruments folder and try again. You'll notice your vocal track now becomes a child of your new folder.
__________________
Pressure is what turns coal into diamonds - Michael a.k.a. Runaway
Mercado_Negro is offline   Reply With Quote
Old 06-29-2015, 07:45 AM   #12
Mercado_Negro
Moderator
 
Mercado_Negro's Avatar
 
Join Date: Aug 2007
Location: Caracas, Venezuela
Posts: 8,676
Default

Quote:
Originally Posted by Alkamist View Post
I made this a long time ago and have been using it forever.

-------------------------------------
SWS: Save current track selection
SWS: Insert track above selected tracks
SWS: Restore saved track selection
Xenakios/SWS: Select previous tracks, keeping current selection
SWS: Select children of selected folder track(s)
SWS: Make folder from selected tracks
SWS: Restore saved track selection
-------------------------------------

A script would be nice though because it would lump it all into one undo state.
That macro seems to do the job Thanks! I guess I didn't try that combination over the years (and I tried many different ways to accomplish this).

By the way, you can tick "consolidate undo points" in the custom action window to make it a single undo point.
__________________
Pressure is what turns coal into diamonds - Michael a.k.a. Runaway

Last edited by Mercado_Negro; 06-29-2015 at 07:50 AM.
Mercado_Negro is offline   Reply With Quote
Old 06-29-2015, 07:51 AM   #13
Alkamist
Human being with feelings
 
Join Date: Dec 2011
Posts: 506
Default

Quote:
Originally Posted by Mercado_Negro View Post
That macro seems to do the job Thanks! I guess I didn't try that combination over the years (and I tried many different ways to accomplish this).
You're welcome!
Alkamist is offline   Reply With Quote
Old 05-17-2017, 08:23 AM   #14
saastara
Human being with feelings
 
Join Date: Mar 2011
Posts: 64
Default

Resurrecting this old thread for a question.. Is there a similiar way to create folders for selected tracks but so that every selected track gets their own folder track?
saastara is offline   Reply With Quote
Old 05-17-2017, 11:21 AM   #15
hopi
Human being with feelings
 
hopi's Avatar
 
Join Date: Oct 2008
Location: Right Hear
Posts: 15,618
Default

umm the custom action that Alkemist posted does not exactly work as expected or desired:

Let's say I have 5 tracks 1, 2, 3, 4, 5

and I select 2 and 4

and run that action

I get a folder with 2, 3, 4 in it... but expected a folder with only 2 and 4

So let's imagine lots of tracks... and we select a few of them and want ONLY those to go into that new folder... leaving all others not affected.

How can that be done?

Of have I missed something?
__________________
...should be fixed for the next build... http://tinyurl.com/cr7o7yl
https://soundcloud.com/hopikiva
hopi is online now   Reply With Quote
Old 05-17-2017, 11:53 AM   #16
Alkamist
Human being with feelings
 
Join Date: Dec 2011
Posts: 506
Default

Quote:
Originally Posted by saastara View Post
Resurrecting this old thread for a question.. Is there a similiar way to create folders for selected tracks but so that every selected track gets their own folder track?
You'd probably need a script to do that. I'm not sure it can be done with just an action macro because it would have to iterate through the amount of tracks you have selected. Could be wrong though.

Quote:
Originally Posted by hopi View Post
umm the custom action that Alkemist posted does not exactly work as expected or desired:

Let's say I have 5 tracks 1, 2, 3, 4, 5

and I select 2 and 4

and run that action

I get a folder with 2, 3, 4 in it... but expected a folder with only 2 and 4

So let's imagine lots of tracks... and we select a few of them and want ONLY those to go into that new folder... leaving all others not affected.

How can that be done?

Of have I missed something?
I suppose a prerequisite of my macro is that the tracks have to be contiguous. So you would have to select all of the tracks you want and then move them somewhere. That would make them all next to each other. Then my macro should work.

I don't think there's a way to make the macro handle that automatically though.
Alkamist is offline   Reply With Quote
Old 05-17-2017, 11:55 AM   #17
exidus
Human being with feelings
 
exidus's Avatar
 
Join Date: Feb 2016
Posts: 121
Default

Have you tried either of these:


me2beats_Create folder from selected track to track at mouse (+rename folder).lua

me2beats_Create folder from selected tracks (+rename folder).lua

me2beats_Create folder from selected tracks.lua
__________________
- Win7 x64, latest x64 REAPER Beta

::::::: My Mixcloud Page ::::::: EFMod_JN Theme :::::::
exidus is offline   Reply With Quote
Old 05-17-2017, 08:28 PM   #18
hopi
Human being with feelings
 
hopi's Avatar
 
Join Date: Oct 2008
Location: Right Hear
Posts: 15,618
Default

Quote:
Originally Posted by exidus View Post
Have you tried either of these:


me2beats_Create folder from selected track to track at mouse (+rename folder).lua

me2beats_Create folder from selected tracks (+rename folder).lua

me2beats_Create folder from selected tracks.lua
Thanks yeah just tried them both...

and again they don't really do what is wanted... but maybe me2beats could devise something that would...

here again is the problem:

make 6 tracks
select the top one and the bottom one and run those actions

I get all the tracks into a folder, but what I wanted was only the top track and the bottom track in the folder... you see?

So far everything behaves this same way despite the name of the action seems to say otherwise.

there must be a way to script it because we can indeed select tracks from wherever and manually drag and drop them into another track that becomes the folder for them.

I don't know beans about scripting... but I'm thinking something like this is needed:

1-create or define the folder
2-get the selected tracks
3-move those into the folder...


so far everything seems to work the other way around... in that tracks are selected and a folder is created.
__________________
...should be fixed for the next build... http://tinyurl.com/cr7o7yl
https://soundcloud.com/hopikiva
hopi is online now   Reply With Quote
Old 05-17-2017, 11:45 PM   #19
exidus
Human being with feelings
 
exidus's Avatar
 
Join Date: Feb 2016
Posts: 121
Default

I see what you mean... Yeah, it is strange the way these behave.
Maybe you can make a request in me2beats Repo thread? He is a pretty responsive fellow
__________________
- Win7 x64, latest x64 REAPER Beta

::::::: My Mixcloud Page ::::::: EFMod_JN Theme :::::::
exidus is offline   Reply With Quote
Old 05-17-2017, 11:50 PM   #20
hopi
Human being with feelings
 
hopi's Avatar
 
Join Date: Oct 2008
Location: Right Hear
Posts: 15,618
Default

done... maybe he will find the way... he is very good
__________________
...should be fixed for the next build... http://tinyurl.com/cr7o7yl
https://soundcloud.com/hopikiva
hopi is online now   Reply With Quote
Old 05-18-2017, 10:49 AM   #21
IXix
Human being with feelings
 
Join Date: Jan 2007
Location: mcr:uk
Posts: 3,889
Default

I tried doing this a while back but hit the same problem. There doesn't seem to be a way to move tracks around via the API. I posted a request in the API wish list thread but nothing happened.
IXix is offline   Reply With Quote
Old 05-19-2017, 03:17 PM   #22
hopi
Human being with feelings
 
hopi's Avatar
 
Join Date: Oct 2008
Location: Right Hear
Posts: 15,618
Default

Quote:
Originally Posted by IXix View Post
I tried doing this a while back but hit the same problem. There doesn't seem to be a way to move tracks around via the API. I posted a request in the API wish list thread but nothing happened.
Ah hmmm too bad isn't it?

just because it would really be a very useful action or script IMO.
__________________
...should be fixed for the next build... http://tinyurl.com/cr7o7yl
https://soundcloud.com/hopikiva
hopi is online now   Reply With Quote
Old 07-04-2017, 05:15 AM   #23
daxliniere
Human being with feelings
 
daxliniere's Avatar
 
Join Date: Nov 2008
Location: London, UK
Posts: 2,581
Default

Ha. After years of running into occasional problems with the custom action I devised (sometimes all tracks past the originally selected tracks are added to a giant folder spanning to the end of the project...), I thought I'd look here.
Seems strange that such a rudimentary function doesn't have a 100% foolproof script!

Any progress from peeps? I don't really need to add non-consecutive tracks to a folder.
__________________
Puzzle Factory Sound Studios, London [Website] [Instagram]
[AMD 5800X, 32Gb RAM, Win10x64, NVidia GTX1080ti, UAD2-OCTO, FireFaceUCX, REAPER x64]
[Feature request: More details in Undo History]
daxliniere is offline   Reply With Quote
Old 07-07-2017, 11:40 AM   #24
IXix
Human being with feelings
 
Join Date: Jan 2007
Location: mcr:uk
Posts: 3,889
Default

Quote:
Originally Posted by daxliniere View Post
Any progress from peeps? I don't really need to add non-consecutive tracks to a folder.
Current state of play...
Code:
// Pass a track pointer on first call, zero on subsequent calls
// Each call returns next child or zero if no more children
function IterateChildTracks(pTrack)
    local(pParent, pChild, depth, i)
(
    pChild = 0; // Return value
    
    pTrack ?
    (
        GetMediaTrackInfo_Value(pTrack, "I_FOLDERDEPTH") == 1 ? // Is it a folder?
        (
            pParent = pTrack;
            i = GetMediaTrackInfo_Value(pTrack, "IP_TRACKNUMBER");  // GetTrack() uses zero based index so i == next track
            depth = 1;
        )
        :
        (
            pParent = 0;
        );
    );
    
    pParent ?
    (
        pChild = GetTrack(0, i);
        depth += GetMediaTrackInfo_Value(pChild, "I_FOLDERDEPTH");
        i += 1;
        !(depth > 0) ? pParent = 0;
    );
    
    pChild;
);

count = CountSelectedTracks(pProj);
count > 0 ?
(
    pFirst = GetSelectedTrack(pProj, 0);
    iLast = GetMediaTrackInfo_Value(GetSelectedTrack(pProj, count - 1), "IP_TRACKNUMBER");
  
    // Build list of tracks to encapsulate
    // If a child of a selected track is not selected, add it to the list
    s = 0;
    trackCount = 0;
    loop
    (
        count,
    
        pTrack = GetSelectedTrack(pProj, s);
        s += 1;
    
        list[trackCount] = pTrack;
        trackCount += 1;
    
        while(pTrack = IterateChildTracks(pTrack))
        (
            !IsTrackSelected(pTrack) ?
            (
                list[trackCount] = pTrack;
                trackCount += 1;
                
                // find the last affected track
                iLast = max(iLast, GetMediaTrackInfo_Value(pTrack, "IP_TRACKNUMBER"));
            );
        );
    );
    
    pLast = GetTrack(pProj, iLast - 1);

    // Create folder track
    iFolder = GetMediaTrackInfo_Value(GetSelectedTrack(pProj, 0), "IP_TRACKNUMBER") - 1;
    InsertTrackAtIndex(iFolder, 0);
    pFolder = GetTrack(pProj, iFolder);
    SetMediaTrackInfo_Value(pFolder, "I_FOLDERDEPTH", 1);
    GetSetMediaTrackInfo_String(pFolder, "P_NAME",  "New Folder", 1); // Is this function broken?
  
    SetOnlyTrackSelected(pFolder);
    
    // FIXME: If selected tracks aren't consecutive, move them to below the folder track.
    //     This is harder than I thought. Looks like the only possibility is cut/paste but that destroys the routing
    //     so would need to preserve that somehow. Perhaps some chunk magic?
    //     Current behaviour will put any tracks between the selected tracks in the folder too.
    //     Probably ought to warn if this will happen...
    
    // Work out how many levels of folder are in the new folder
    t = 0;
    numLevels = 0;
    loop
    (
        trackCount,
        numLevels = max(numLevels, GetTrackDepth(list[t]));
        t += 1;
    );

    // Adjust folderdepth of last selected so it terminates all encapsulated folders
    SetMediaTrackInfo_Value(pLast, "I_FOLDERDEPTH", -numLevels);
    
    UpdateArrange();
    UpdateTimeline();
    TrackList_AdjustWindows(0);
)
:
(
    ShowMessageBox("No tracks selected!", "Sorry, Dave, I can't let you do that.", 0);
);
Works well apart from the non-consecutive tracks problem. I have some ideas to try to get around that but no time to try just now.

edit: Oh, and auto-naming the new folder doesn't seem to work. Not sure why...
IXix is offline   Reply With Quote
Old 07-07-2017, 09:21 PM   #25
me2beats
Human being with feelings
 
me2beats's Avatar
 
Join Date: Jul 2015
Location: Yekaterinburg, Russia
Posts: 400
Default

Create folder from selected tracks (+rename folder) 2.lua
Check my repo
__________________
My Reapack Repo
Donation
me2beats is offline   Reply With Quote
Old 07-08-2017, 06:08 AM   #26
IXix
Human being with feelings
 
Join Date: Jan 2007
Location: mcr:uk
Posts: 3,889
Default

Quote:
Originally Posted by me2beats View Post
Create folder from selected tracks (+rename folder) 2.lua
Check my repo
Nice. Shame you have to do so much extra work to get around the lack of a track moving API function.
IXix is offline   Reply With Quote
Old 08-07-2017, 05:08 PM   #27
xpander
Human being with feelings
 
xpander's Avatar
 
Join Date: Jun 2007
Location: Terra incognita
Posts: 7,670
Default

Quote:
Originally Posted by Alkamist View Post
I suppose a prerequisite of my macro is that the tracks have to be contiguous. So you would have to select all of the tracks you want and then move them somewhere. That would make them all next to each other. Then my macro should work.
Some time ago I worked out a little macro which will move all the selected tracks to the top, no need for them to be contiguous originally: https://forum.cockos.com/showpost.ph...67&postcount=4

No time to test now but maybe that could be edited/merged with your macro to create a new folder too? My macro cuts and pastes tracks, that may or may not be a dangerous idea so some care needed.

---
edit: ok, here's something. Track selection doesn't have to be contiguous. The new folder for the selected tracks will be created at the top. Tracks will be cut and then pasted, so please test carefully. With my modest test projects this worked fine, but I'd hate to hear someone wrecked their magnum opus cutting and pasting it into oblivion.

SWS/S&M: Cut selected tracks (with routing)
SWS: Create and select first track
SWS/S&M: Paste tracks (with routing) or items
Xenakios/SWS: Select previous tracks, keeping current selection
SWS: Make folder from selected tracks

Last edited by xpander; 08-09-2017 at 04:06 PM. Reason: added the custom action
xpander is offline   Reply With Quote
Old 01-21-2018, 12:39 AM   #28
neovich
Human being with feelings
 
Join Date: Mar 2017
Location: Sydney Australia
Posts: 13
Default move selected tracks to parent tracks using actions

Hi All,

What I do is move any selected tracks, ( non-contiguous )and cut them and assign to a specifically named parent track. Sound like people are after this.
It's easy to mod to do this to send to a new Folder but I am showing you my already working example.

I actually have sub menu in track view with right click,
" Send to Master Drums ..or Master Keyboard or ..... and so on.
It's simple to do!! All shown here.

OK, first, an example what happens in my action.

I have tracks named : 1,2,3,4,5,6,7,8,9,10.
and a track Called "Master Vox", ( followed by a "Dog" track , see below )
out of the 10 tracks, tracks named 2 and 5 are vocal tracks.
So... , I select a custom action ( short cut key ) to move these selected tracks to my already existing "Master Vox" folder Track.

Bang ! tracks named 2 and 5 and now under the "Master Vox" folder track.

Important Note: To work the above example, you first must create a dummy child track "Dog Track" to the main parant track. Example Under the "Master Vox"
assigned as a child to this.
I call this kind of track the " Dog Track " because it stop stuff getting messed up under the "Dog Track" . This "Dog Track" gets pushed to the end as you add children to the Master Folder . ( EG. Master Vox )
( My analogy behind the name "Dog Track" is Parent track top and Dog Track bottom , to protect children in between, lol )

So, if you have other instrument tracks etc. like Guitars, Drums , Keyboards etc.... then you will need to make an action
for each of these catagories and make sure they all have Dog Tracks at the end of each of the folder masters.
If you make an action with specific names like "VOX Master", then make sure the name of you Master tracks are consistent with every project you create.

If you want to get even fancier, you could also change the colours and so on . You guys can work that one out ;-)


Now to do Create this Action.

Firstly, go to Action Cycle Editor
-------------------------------------------------------------
Cycle Action Name\ Command\
Custom - Master Vox Parent CONSOLE S Master Vox

Add this first.

Secondly, go to Action Cycle Editor, add these.
-------------------------------------------------------------
Action Editor: ( in this order )
Name of action: Move selected tracks to Master Vox
-------------------------------------------------------------
Track: Cut Tracks
Custom - Master Vox select Parent ( this is your new custom cycle action )
SWS: Show selected tracks(s) in TCP and MCP
SWS/S&M: Set selected tracks folder states to parent
SWS/S&M: Paste tracks (with routing) or items

Of coarse this works only with tracks that are relevant to Vocals, so you will need to repeat procedure to do
same with other groups etc.. drums, guitars and so one.

Note, as I said, this actually works and works very well ! If it does not, then you probably got the
cycle action command wrong. Check that first.

Cheers to All
Attached Images
File Type: gif Sub Cats - Reaper.gif (58.8 KB, 478 views)

Last edited by neovich; 01-25-2018 at 02:05 AM. Reason: line feeds word
neovich is offline   Reply With Quote
Old 01-21-2018, 05:38 AM   #29
uncleswede
Human being with feelings
 
Join Date: Feb 2015
Posts: 1,096
Default

Inspired by Neovich and me2beats, here's a custom action that creates a folder from non-contiguous tracks.

This action relies on having the SWS extension and me2beat's "Create folder from selected tracks (+rename folder).lua" script installed:

This is the action:

Custom: Create folder from non-contiguous tracks

SWS: Save current track selection
Xenakios/SWS: Select first of selected tracks
SWS: Insert track above selected tracks
SWS: Toggle between current and saved track selection
SWS/S&M: Cut selected tracks (with routing)
SWS: Toggle between current and saved track selection
SWS/S&M: Paste tracks (with routing) or items
Script: Create folder from selected tracks (+rename folder).lua
Track: Go to previous track
Track: Remove tracks

As Neovich warned this custom action is cutting and pasting tracks so it might be wise to quickly Ctrl-S before running.

To use, simply select the tracks you want in a folder (can be non-sequential selections), run the action and type in the name of the folder track. All track routings and items are maintained.

Here's a video demo:

https://youtu.be/mNp01_CJYjA

You can download and import this custom action from the stash:

https://stash.reaper.fm/32737/Create...s.ReaperKeyMap

You will need to load me2beats lua script first, however:

https://stash.reaper.fm/32736/Create...0folder%29.lua
uncleswede is offline   Reply With Quote
Old 01-21-2018, 06:39 AM   #30
dug dog
Human being with feelings
 
Join Date: Jan 2009
Posts: 1,798
Default

Haven't tested it but that looks great!
dug dog is offline   Reply With Quote
Old 01-21-2018, 07:13 AM   #31
dug dog
Human being with feelings
 
Join Date: Jan 2009
Posts: 1,798
Default

Hey Uncle:

It looks like the custom action file that you up-loaded to the stash is missing the me2beats script (the 3rd from last action of your custom script).

When I added that line, it worked fine here.
dug dog is offline   Reply With Quote
Old 01-21-2018, 07:29 AM   #32
uncleswede
Human being with feelings
 
Join Date: Feb 2015
Posts: 1,096
Default

Quote:
Originally Posted by dug dog View Post
Hey Uncle:

It looks like the custom action file that you up-loaded to the stash is missing the me2beats script (the 3rd from last action of your custom script).

When I added that line, it worked fine here.
Hi,

Yes - the custom action export includes the script reference but not the script itself.
You need to install me2beats script first (I loaded it up on the stash - see previous link), then import the custom action.

Cheers
uncleswede is offline   Reply With Quote
Old 01-21-2018, 07:33 AM   #33
dug dog
Human being with feelings
 
Join Date: Jan 2009
Posts: 1,798
Default

I guess I didn't explain that very well.

I already had that script loaded. Then, when I ran your action, it didn't work right so I opened it in the action editor and the line for the script wasn't there. So, I edited your action by adding that line in and then it worked fine.

Maybe I'd messed things up somehow at this end but, if anyone else has problems, they'll know where to look.

Thanks.
dug dog is offline   Reply With Quote
Old 01-21-2018, 07:41 AM   #34
dug dog
Human being with feelings
 
Join Date: Jan 2009
Posts: 1,798
Default

I just downloaded the custom action again (deleted the original) and it doesn't reference the script when I open it in the action editor.

Super handy action though. Thanks to all who've contributed!
dug dog is offline   Reply With Quote
Old 01-21-2018, 09:39 AM   #35
Reno.thestraws
Human being with feelings
 
Reno.thestraws's Avatar
 
Join Date: Nov 2009
Location: Belgium
Posts: 10,474
Default

__________________
http://www.residenceemilia.com
Reno.thestraws is offline   Reply With Quote
Old 01-21-2018, 09:55 AM   #36
uncleswede
Human being with feelings
 
Join Date: Feb 2015
Posts: 1,096
Default

Reno,

Thanks for that.

Does your solution work for non-continuous tracks?

i.e. Ctrl-click tracks 2, 6, 7 and 11 then run your action. Will it create a folder with just tracks 2, 6, 7 and 11 in it (and not all the tracks between 2 and 11)?
uncleswede is offline   Reply With Quote
Old 01-21-2018, 10:59 AM   #37
Reno.thestraws
Human being with feelings
 
Reno.thestraws's Avatar
 
Join Date: Nov 2009
Location: Belgium
Posts: 10,474
Default

Nope but you can easily edit the cycle action by using cut -paste tracks
__________________
http://www.residenceemilia.com
Reno.thestraws is offline   Reply With Quote
Old 01-21-2018, 12:41 PM   #38
uncleswede
Human being with feelings
 
Join Date: Feb 2015
Posts: 1,096
Default

Quote:
Originally Posted by dug dog View Post
I just downloaded the custom action again (deleted the original) and it doesn't reference the script when I open it in the action editor.

Super handy action though. Thanks to all who've contributed!
Thanks!

re: the missing script reference, maybe there's some underlying ID or reference that I am unaware of for the me2beats script that is different on your system to mine?

I just removed everything then, from my Stash links, reloaded the script and reimported the action reaperkeymap and everything was fine)....?

Never mind - as long as it's working for you :-)
uncleswede is offline   Reply With Quote
Old 01-21-2018, 01:03 PM   #39
Reno.thestraws
Human being with feelings
 
Reno.thestraws's Avatar
 
Join Date: Nov 2009
Location: Belgium
Posts: 10,474
Default

__________________
http://www.residenceemilia.com
Reno.thestraws is offline   Reply With Quote
Old 01-23-2018, 03:25 AM   #40
neovich
Human being with feelings
 
Join Date: Mar 2017
Location: Sydney Australia
Posts: 13
Default Moving children to parents using actions

Hi,

Glad I could inspire the ideas here.

I did forget to mention, my Folder moving trick ( Post #28 ) does require the install of SWS extensions,
Although no other lua scripts are needed in my one, but works equally
as good.

Cheers
neovich is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 11:20 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.