CTB/Script

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
Nighted
Posts: 463
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
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:
Snip [23-02-08-175143].png
Snip [23-02-08-175151].png

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.
To see the attached files, you need to log into the forum.
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: 14991
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

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: 463
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: 66583
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @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