is there a way to do some action when renaming a track?
Message
Author
hi! Basically i am looking to do an action which is triggered when i am renaming a track. Is it possible? any script example you can think of that uses this? Thank you
--------------------------------- paul dean 89 730ise auto 94 YZF750R www.thee32register.co.uk
RE: is there a way to do some action when renaming a track?
brilliant snooks! :D wawawaweee! I am not sure , i have putted this on a toolbar, this means i have to toggle this each time i open a project? Where can i load it by default?
--------------------------------- Michael 1995 325is (she's coming along...) USPA C31761
RE: is there a way to do some action when renaming a track?
I edited the code so that it should work with multiple project tabs. You can put a script called __startup.lua (that's 2 * _ in the filename) in your Scripts folder and Reaper will execute that on start. So have one line in it. Code:
RE: is there a way to do some action when renaming a track?
I added adding and removing tracks to the script. When you remove though, the pointer to the removed track is invalid so any required details would have to be stored with the track collecting part of the script. At the moment it just tells you the name of the deleted track. I don't think notifying beyond the fact that track(s) have moved is doable... Code:
--------------------------------- Dave '18 RAM 2500 Laramie Cummins '15 Pure White VW Touareg TDI ///'95 Avus M3 S54B32 Race car -- 2022 ProAutoSports PS1 Champion ///'72 Chamonix 2002 (Restoration project)