Page 1 of 1
Tweak to disable Esc popup
Posted: 22 Nov 2021 05:42
by WirlyWirly
I mentioned this in another section, but thought I'd post it here instead.
It'd be nice if there was a tweak to disable the little popup you get when you press Esc to kill a script. The status bar would suffice for such a notice and not interfere with workflow.
Also, this popup seems buggy since it will usually re-open itself and then need to be closed several times before it finally disappears.

Re: Tweak to disable Esc popup
Posted: 22 Nov 2021 08:49
by Kenbol
+1
Re: Tweak to disable Esc popup
Posted: 22 Nov 2021 10:11
by admin
I just turn it into a status bar message (I'm also not a fan of message boxes).
Re: Tweak to disable Esc popup
Posted: 22 Nov 2021 18:15
by WirlyWirly
Do you mean to say there's already an option to turn it into a status bar message, or that you changed it in a future release?
Re: Tweak to disable Esc popup
Posted: 23 Nov 2021 10:20
by admin
I did it in v22.40.0245. So I did it in the past.

Re: Tweak to disable Esc popup
Posted: 23 Nov 2021 10:25
by highend
From what I've captured, it was in 0244...
v22.40.0244 - 2021-11-22 10:19
<snipped>
* Scripting: The message "Script terminated by ESC." now appears in the
status bar instead of in a message box.
<snipped>
Re: Tweak to disable Esc popup
Posted: 23 Nov 2021 10:27
by admin
You won.

Re: Tweak to disable Esc popup
Posted: 05 Dec 2021 00:19
by WirlyWirly
On a related note, there's another message box that breaks workflow. It pops up when I try to run quickly run the same script back-to-back.
In my case, I'm using a hotkey to load a menu script, I select an option from that menu, and then call the script again before the first action has been processed... I think?...

Re: Tweak to disable Esc popup
Posted: 05 Dec 2021 11:54
by admin
Hard to say without seeing the script. It might be a useful error message that helps to improve your script. Or have you tried that already?
Re: Tweak to disable Esc popup
Posted: 05 Dec 2021 12:40
by klownboy
SC setting "AllowRecursion",1 should eliminate that message when placed in that script and will stay in affect only for the life of the script.