I really would like to clean up several things on XY exit so an event for it would be really nice
Should reside in "Other Events"
And apart from the "Action = Script" it should probably have an entry for "Default" which means: Just do what is configured in "Configuration | General | Startup & Exit | Save Settings", in other words: A standard exit
CEA - On exit event
-
highend
- Posts: 14950
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
CEA - On exit event
One of my scripts helped you out? Please donate via Paypal
-
admin
- Site Admin
- Posts: 66324
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: CEA - On exit event
You mean when "Action = Script" it should not do the default stuff?
I can see several possible actions:
None
Default
Default + Script
Script + Default
Script Only
Well, rather confusing... I would prefer something more simple.
I can see several possible actions:
None
Default
Default + Script
Script + Default
Script Only
Well, rather confusing... I would prefer something more simple.
FAQ | XY News RSS | XY X
-
highend
- Posts: 14950
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: CEA - On exit event
It's an advanced feature, it can have advanced options
A few of the other cea entries have a plethora of options as well.
I could live with a
if you don't want to invest much time in it, though...
A few of the other cea entries have a plethora of options as well.
I could live with a
Code: Select all
None
Default
Default + script
One of my scripts helped you out? Please donate via Paypal
-
admin
- Site Admin
- Posts: 66324
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: CEA - On exit event
I'd prefer the usual one:
Understanding that:
None = Default
Run script = Default + Script
Code: Select all
None
Run scriptNone = Default
Run script = Default + Script
FAQ | XY News RSS | XY X
-
highend
- Posts: 14950
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
-
admin
- Site Admin
- Posts: 66324
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: CEA - On exit event
Unloading XY involves a lot of steps. It will take some time to find the best position where to insert this "on exit" event. I now decided to place it right before the automatic save settings on exit (if any). This is a position where theoretically the Unload process could still be aborted (XY stays open) and/or save settings could be skipped. This gives us some options for the future.
FAQ | XY News RSS | XY X
-
highend
- Posts: 14950
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
XYplorer Beta Club