|
|
|
04-07-2020, 04:59 PM
|
#1
|
Human being with feelings
Join Date: May 2018
Location: Los Angeles
Posts: 1,719
|
Auto run a script upon project load?
Is there a way to run a script upon project load?
My goal is to run a short script that scans the SR of the first audio item and makes sure it matches the SR of the project. If there is a mis-match, then I get a "Warning" dialog box.
Would this be possible? I mean.. I can easily write the script, but I'm not sire it there is a special auto-launch folder in the Reaper hierarchy or if there is even a way to do this?
Thanks
Cheers,
Andrew K
__________________
Cheers... Andrew K
Reaper v6.80+dev0621 - June 21 2023 • Catalina • Mac Mini 2020 6 core i7 • 64GB RAM • OS: Catalina • 4K monitor • RME RayDAT card with Sync Card and extended Light Pipe.
|
|
|
04-07-2020, 05:10 PM
|
#2
|
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,622
|
I think SWS had something like that but I could be wrong...
|
|
|
04-07-2020, 05:19 PM
|
#3
|
Human being with feelings
Join Date: May 2018
Location: Los Angeles
Posts: 1,719
|
Quote:
Originally Posted by mespotine
I think SWS had something like that but I could be wrong...
|
I just did a bunch of different search criteria queries with "SWS" and couldn't find anything.
Will keep digging... anyone else?
Cheers,
Andrew K
__________________
Cheers... Andrew K
Reaper v6.80+dev0621 - June 21 2023 • Catalina • Mac Mini 2020 6 core i7 • 64GB RAM • OS: Catalina • 4K monitor • RME RayDAT card with Sync Card and extended Light Pipe.
|
|
|
04-07-2020, 05:47 PM
|
#4
|
Human being with feelings
Join Date: Oct 2016
Posts: 128
|
I asked about this somewhere else as was told “you can set it as SWS global startup action” but it was also suggested to set a shortcut and trigger when needed. This was for a different script, so take it for what it’s worth. Hope that’s helps.
|
|
|
04-07-2020, 06:35 PM
|
#5
|
Human being with feelings
Join Date: May 2018
Location: Los Angeles
Posts: 1,719
|
Quote:
Originally Posted by kaylec
I asked about this somewhere else as was told “you can set it as SWS global startup action” but it was also suggested to set a shortcut and trigger when needed. This was for a different script, so take it for what it’s worth. Hope that’s helps.
|
Brilliant!! I think that is what I needed.
Thanks for your help kaylec!!
Cheers,
Andrew K
__________________
Cheers... Andrew K
Reaper v6.80+dev0621 - June 21 2023 • Catalina • Mac Mini 2020 6 core i7 • 64GB RAM • OS: Catalina • 4K monitor • RME RayDAT card with Sync Card and extended Light Pipe.
|
|
|
04-07-2020, 07:06 PM
|
#6
|
Human being with feelings
Join Date: Oct 2016
Posts: 128
|
Happy to be able to help and return the favor (after all the help you’ve given me over the years.)
|
|
|
04-07-2020, 07:56 PM
|
#7
|
Human being with feelings
Join Date: May 2018
Location: Los Angeles
Posts: 1,719
|
Quote:
Originally Posted by kaylec
Happy to be able to help and return the favor (after all the help you’ve given me over the years.)
|
Has it been that long?? LOL
I guess so... I just noticed I joined 2 years ago
Time flies when you're having fun
__________________
Cheers... Andrew K
Reaper v6.80+dev0621 - June 21 2023 • Catalina • Mac Mini 2020 6 core i7 • 64GB RAM • OS: Catalina • 4K monitor • RME RayDAT card with Sync Card and extended Light Pipe.
|
|
|
04-07-2020, 08:47 PM
|
#8
|
Human being with feelings
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
|
'__startup.lua' in scripts folder is run after loading Reaper (if exists).
|
|
|
04-08-2020, 02:59 AM
|
#9
|
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,622
|
But doesn't help with projectload unfortunately.
|
|
|
04-08-2020, 03:45 AM
|
#10
|
Human being with feelings
Join Date: Jan 2007
Location: mcr:uk
Posts: 3,889
|
SWS/S&M: Set project startup action
|
|
|
04-08-2020, 10:39 AM
|
#11
|
Human being with feelings
Join Date: May 2018
Location: Los Angeles
Posts: 1,719
|
Quote:
Originally Posted by IXix
SWS/S&M: Set project startup action
|
Yep... that's the one. J
@mespotine..
You just have to make sure you save the project with the SWS assignment. Or, if you know you will need this script on all projects that you load, save it to your default project template.
Cheers,
Andrew K
__________________
Cheers... Andrew K
Reaper v6.80+dev0621 - June 21 2023 • Catalina • Mac Mini 2020 6 core i7 • 64GB RAM • OS: Catalina • 4K monitor • RME RayDAT card with Sync Card and extended Light Pipe.
|
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 07:30 AM.
|