Page 1 of 1
Default message overwrites SB personalized return
Posted: 14 Jun 2016 17:19
by rebr
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.
Re: Default message overwrites SB personalized return
Posted: 14 Jun 2016 17:55
by highend
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>"?
Re: Default message overwrites SB personalized return
Posted: 15 Jun 2016 08:46
by admin
Not easy.
I see the point, but it needs more thinking.
Re: Default message overwrites SB personalized return
Posted: 15 Jun 2016 16:57
by Papoulka
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
Re: Default message overwrites SB personalized return
Posted: 24 Aug 2016 00:34
by Millzey
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).
Re: Default message overwrites SB personalized return
Posted: 24 Aug 2016 11:18
by admin
Next version will handle it.
Re: Default message overwrites SB personalized return
Posted: 21 Sep 2016 02:04
by rebr
admin wrote:Next version will handle it.

Re: Default message overwrites SB personalized return
Posted: 03 Feb 2017 13:15
by highend
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...
Re: Default message overwrites SB personalized return
Posted: 03 Feb 2017 14:59
by admin
Example script?
Re: Default message overwrites SB personalized return
Posted: 03 Feb 2017 15:24
by highend
Really, that's the full script (for demonstration purposes only, ofc).
load_script_file.png
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
UDC: Load Script File | stay
once it's execution is finished
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...)
Re: Default message overwrites SB personalized return
Posted: 03 Feb 2017 15:30
by admin
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.
Re: Default message overwrites SB personalized return
Posted: 03 Feb 2017 15:37
by highend

That's a kind of good hidden option!
<- btb (back to bed)
Re: Default message overwrites SB personalized return
Posted: 03 Feb 2017 15:49
by admin
And BTW:
left-click works, too.

Re: Default message overwrites SB personalized return
Posted: 03 Feb 2017 15:51
by highend
No way, that's completely insane!