Old 08-28-2017, 06:47 AM   #1
Frank B
Human being with feelings
 
Frank B's Avatar
 
Join Date: Nov 2015
Posts: 137
Default Script Idea!

Swap selected tracks name.
To use with script "move selected item to track with same name"
Maybe combine both?

Objective: Select new imported media track >com+click destination track in template (to move item to) >run above action.
Will move new media to pre-made track template and change name to item name.
Frank B is offline   Reply With Quote
Old 08-28-2017, 09:32 AM   #2
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,984
Default

Code:
if reaper.CountSelectedTracks(0) == 2 then name1 = ({reaper.GetSetMediaTrackInfo_String( reaper.GetSelectedTrack(0,0), "P_NAME", '', 0 )})[2]
reaper.GetSetMediaTrackInfo_String( reaper.GetSelectedTrack(0,0), "P_NAME", ({reaper.GetSetMediaTrackInfo_String( reaper.GetSelectedTrack(0,1), "P_NAME", '', 0 )})[2], 1 )
reaper.GetSetMediaTrackInfo_String( reaper.GetSelectedTrack(0,1), "P_NAME", name1 , 1) end
mpl is offline   Reply With Quote
Old 08-31-2017, 01:39 PM   #3
Frank B
Human being with feelings
 
Frank B's Avatar
 
Join Date: Nov 2015
Posts: 137
Default

Thanks for the effort.
works great!!!
Frank B 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 08:18 PM.


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