CTB/Script

Things you’d like to miss in the future...
Post Reply
Nighted
Posts: 459
Joined: 21 Jan 2007 01:58
Location: Gitmo Nation North, Win 7/10/Linux/(x64)

CTB/Script

Post by Nighted »

This one has been bugging me for a year or two.

I have a custom toolbar button:
Snip [23-02-08-172620].png
Snip [23-02-08-172620].png (13.11 KiB) Viewed 370 times
It calls this script:

Code: Select all

"Restart without saving|Action-RestartNoSave.ico" #190;
"Exit without saving (Ctrl+Alt+F4)|Action-ExitNoSave.ico" #191;
Restart without saving often creates several clone process, though never more than three:
Task Manager
Task Manager
Snip [23-02-08-175143].png (1.71 KiB) Viewed 370 times
Process Hacker
Process Hacker
Snip [23-02-08-175151].png (5.66 KiB) Viewed 370 times

Exit without saving has a mind of it's own. Sometimes it takes several attempt for it to work.

I have neither issue using the menu or keyboard.
Last edited by Nighted on 09 Feb 2023 23:07, edited 1 time in total.
I want XY to serve soft ice cream. Please Don, make XY serve soft ice cream.

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: CTB/Script

Post by highend »

Restart with saving often creates several clone process, though never more than three:
you mean:
Restart without saving
?

This does happen even right after starting the normal XY instance?

Apart from that: Can't replicate any of those issues here with the current beta
One of my scripts helped you out? Please donate via Paypal

Nighted
Posts: 459
Joined: 21 Jan 2007 01:58
Location: Gitmo Nation North, Win 7/10/Linux/(x64)

Re: CTB/Script

Post by Nighted »

highend wrote: 09 Feb 2023 06:18
Restart with saving often creates several clone process, though never more than three:
you mean:
Restart without saving? Yeah. Something glitched and had to re-write my original post from scratch. :om:

This does happen even right after starting the normal XY instance? No

Apart from that: Can't replicate any of those issues here with the current beta. With the 24.00.0701_beta also. ¯\_(ツ)_/¯

I'll reiterate, this behavior ONLY occurs when calling the script. Bizarre...

XY.mp4: https://pixeldrain.com/u/FGTdRGvZ
I want XY to serve soft ice cream. Please Don, make XY serve soft ice cream.

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: CTB/Script

Post by admin »

Ending the app via scripting can fail if there is code to be executed post mortem. I added a little thing that might make it work better next time.

Post Reply