Default message overwrites SB personalized return
Default message overwrites SB personalized return
I use UDC to load certain command from a script file, that calls a function to show the result at SB.
However, that result is being overwrited by the message "UDC: Load Script File | <Caption of UDC>".
Is there anyway to maintain my own message in the SB?
Thanks in advance.
However, that result is being overwrited by the message "UDC: Load Script File | <Caption of UDC>".
Is there anyway to maintain my own message in the SB?
Thanks in advance.
Re: Default message overwrites SB personalized return
You can use the script command status but when execution has ended it get's overwritten by the UDC: Load Script File | ... output again.
Don, can you change the order? First output the UDC: ... line and then let scripts allow to change it via status "<text>"?
Don, can you change the order? First output the UDC: ... line and then let scripts allow to change it via status "<text>"?
One of my scripts helped you out? Please donate via Paypal
-
admin
- Site Admin
- Posts: 65345
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Default message overwrites SB personalized return
Not easy.
I see the point, but it needs more thinking.
I see the point, but it needs more thinking.
FAQ | XY News RSS | XY X
Re: Default message overwrites SB personalized return
Nice if we could turn off routine (non-error) status bar updates in scripts, and just show the ones we want:
http://www.xyplorer.com/xyfc/viewtopic. ... lit=status
http://www.xyplorer.com/xyfc/viewtopic. ... lit=status
Re: Default message overwrites SB personalized return
Just ran into this issue.
So the status bar for error messages such a no files selected, its only useful for running commands from toolbar buttons, context menus, and catalog items?
This would also apply to any command that returns a message in the status bar such as paperfolder:
s: Show results in status bar (how many items were added/removed).
So the status bar for error messages such a no files selected, its only useful for running commands from toolbar buttons, context menus, and catalog items?
This would also apply to any command that returns a message in the status bar such as paperfolder:
s: Show results in status bar (how many items were added/removed).
-
admin
- Site Admin
- Posts: 65345
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Default message overwrites SB personalized return
Next version will handle it.
FAQ | XY News RSS | XY X
Re: Default message overwrites SB personalized return
admin wrote:Next version will handle it.
Re: Default message overwrites SB personalized return
Still? (can't say for sure if it worked in the meantime) not working.
At least not with the current beta.
Loading a test script via "User - Load Script File" -> The message from the script's
single status command is overwritten immediately once it's finished
Very annoying, 99% of my scripts are loaded that way...
At least not with the current beta.
Loading a test script via "User - Load Script File" -> The message from the script's
single status command is overwritten immediately once it's finished
Very annoying, 99% of my scripts are loaded that way...
One of my scripts helped you out? Please donate via Paypal
Re: Default message overwrites SB personalized return
Code: Select all
status "You will NOT pass!";
So whenever you execute it via Menu - User - Load Script File (or if assigned, a keyboard shortcut)
you'll never see it's status line output because it's immediately overwritten with
once it's execution is finishedUDC: Load Script File | stay
While other variants to load / directly executing it are working just fine (
Menu - Scripting - Run Script...
Menu - Scripting - Load Selected Script File
Menu - Scripting - Load Script File...)
One of my scripts helped you out? Please donate via Paypal
-
admin
- Site Admin
- Posts: 65345
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Default message overwrites SB personalized return
Right-click the Options button in that dialog and untick "Show Status Bar Message" ?
Code: Select all
v17.00.0208 - 2016-08-24 20:15
...
- "Show Status Bar Message" (Factory default: OFF)
This option is brand-new and allows you to control the status bar
message shown at start and end of each User-Defined Command. Before, it
was hard-coded to ON, but I now totally changed my mind about it: made
it optional and default to OFF.
FAQ | XY News RSS | XY X
Re: Default message overwrites SB personalized return
<- btb (back to bed)
One of my scripts helped you out? Please donate via Paypal
-
admin
- Site Admin
- Posts: 65345
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Default message overwrites SB personalized return
And BTW: left-click works, too. 
FAQ | XY News RSS | XY X
Re: Default message overwrites SB personalized return
No way, that's completely insane!
One of my scripts helped you out? Please donate via Paypal
XYplorer Beta Club