Old 11-21-2019, 12:39 PM   #1
Buy One
Human being with feelings
 
Join Date: Sep 2019
Posts: 320
Default How does one reset an answer to the background script dialogue? (solved)

The one which reads

Quote:
ReaScript task control

[script] is running in the background.

Would you like to terminate all instances of this script, or launch a new instance?

Remember my answer for this script.
when a running script is relaunched

I assume it's stored in one of the config files, but which and what's the function named?

Solution: in reaper-kb.ini the value 4 next to a script command ID changes to 516 (in my case, after selecting "launch a new instance") when the answer to the dialogue is saved.
So restoration of 4 seems to reset it.


from the reaper-kb.ini file reference

Quote:
4 - Dialogwindow appears(Terminate, New Instance, Abort), if another instance of a given script is started, that's already running
260 - always Terminate All(!) Instances, if you try to run another instance of a script, that's already running. When no instance is running, it simply starts the script.
516 - always start a New Instance of the script, that's already running

Last edited by Buy One; 04-26-2020 at 08:57 AM.
Buy One is offline   Reply With Quote
Old 11-21-2019, 01:42 PM   #2
mespotine
Human being with feelings
 
mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig, Germany
Posts: 2,133
Default

This should be an option in Reaper directly, IMHO.
__________________
Use she/her, when contacting me, please. Thanks :) Not mentoring via PMs, sorry.
Ultraschall-API - 1200 ReaScript functions for Reaper - Reaper Internals - Developerdocs4Reaper - Donate, if you want
mespotine is offline   Reply With Quote
Old 11-21-2019, 03:19 PM   #3
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 5,942
Default

I agree an option somewhere would be nice. What I do is to remove the script and load it again
heda is offline   Reply With Quote
Old 11-21-2019, 03:32 PM   #4
mespotine
Human being with feelings
 
mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig, Germany
Posts: 2,133
Default

I posted a thread in Nitpicks for that.
__________________
Use she/her, when contacting me, please. Thanks :) Not mentoring via PMs, sorry.
Ultraschall-API - 1200 ReaScript functions for Reaper - Reaper Internals - Developerdocs4Reaper - Donate, if you want
mespotine is offline   Reply With Quote
Old 04-13-2020, 10:31 AM   #5
Stroudy
Human being with feelings
 
Stroudy's Avatar
 
Join Date: Jul 2014
Location: London
Posts: 463
Default

Sorry to bump this oldish thread, but why on earth is this still like this - seems an easy upgrade to implement.

Why is it not in this menu:

Stroudy 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 06:30 PM.


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