Go Back   Cockos Incorporated Forums > REAPER Forums > Dstruct's Casa De Nitpicks

Reply
 
Thread Tools Display Modes
Old 05-25-2021, 01:21 PM   #1
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,621
Default Terminate Instance-Dialog: sometimes has Remember-checkbox, sometimes not.

This one's a classic nitpick but would be cool to fix.

When I run a deferred script another time, the "Terminate Instance"-dialog appears.
There's just one thing though: when I click on the currently running instance of the script in the action list, it features the "Remember my answer"-checkbox.
However, when I click the instance of the script in the actions-menu, the same dialog appears without this checkbox.

I think, the checkbox should be in both. The reason is, that new users, who stumble across this, might be confused, that they sometime can remember the answer and sometimes not.

Also makes it easier for us, when somebody asks for the termination-procedure, that we can always tell "Don't forget, there's a checkbox, that allows you remembering the terminate state" without having to explain, that only the actionlist allows that, not the action menu.
Makes stuff a little easier for new users and scripters.
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine is offline   Reply With Quote
Old 05-25-2021, 02:52 PM   #2
DarkStar
Human being with feelings
 
DarkStar's Avatar
 
Join Date: May 2006
Location: Surrey, UK
Posts: 19,677
Default

Sorry for the hijack.

But how can we "Forget" the remembered answer? Edit something in reaper.ini?
__________________
DarkStar ... interesting, if true. . . . Inspired by ...
DarkStar is offline   Reply With Quote
Old 05-25-2021, 03:48 PM   #3
nofish
Human being with feelings
 
nofish's Avatar
 
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,096
Default

Quote:
Originally Posted by DarkStar View Post
Sorry for the hijack.

But how can we "Forget" the remembered answer? Edit something in reaper.ini?
You can delete the script in the action list and re-load it.
(I don't know if/how it works via editing .ini)
nofish is offline   Reply With Quote
Old 05-25-2021, 04:22 PM   #4
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,621
Default

You can look into the reaper-kb.ini and find the SCR-entry for the script.

Set the first number AFTER SCR to 4 and restart Reaper.

This will show the dialog again.

From my docs:

Quote:
SCR a b ActionCommandID "ScriptDescription*" Scriptname.lua|.py

a - leave it at 4 or one of the numbers below, as most other number makes this script unrunnable, though other settings seem to have an effect, though useless when the script doesn't run. 1 consolidate undo points, 2 show in Actions-Menu, 3 consolidate undo points AND show in Actions Menu, 4 shows a "Instance already running"-dialog-window(standardsetting), 200 and above (mostly) makes the entry disappear in Reaper and within the Reaper-kb.ini, if the file is rewritten by Reaper.

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

b - Section ID, in which this script can be used. Only the numbers below are allowed, any other number may lead to the entry be removed, if reaper-kb.ini is rewritten by Reaper.

0 - Main
1 - action stays invisible but is kept, if Reaper rewrites the reaper-kb.ini. Menu-buttons with this action associated appear but don't work.
100 - Main (alt recording)
32060 - MIDI Editor
32061 - MIDI Event List Editor
32062 - MIDI Inline Editor
32063 - Media Explorer
https://mespotin.uber.space/Ultrasch...#Reaper-kb.ini
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine 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 01:11 AM.


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