status bar

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

: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: Use Your Profile Or Signature
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: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
autocart
Posts: 1422
Joined: 26 Sep 2013 15:22

status bar

Post by autocart »

It happens to me that after a scirpt (atm the scenario is loading the sript with UDC) has finished running, the status bar still keeps displaying a blue square frame and the text "UDC: Run Script | ..." (until something else update the status bar).
If the scipt has finished, though, then I would want my normal (previous) status bar text back without having to click anywhere. Thx.

On a side note, I noticed that "::status get("Status", 3);" might change the icon in the status bar (depending on the original icon displayed). I don't need that line of code but I happend to notice this behaviour. Don't know if it needs to be fixed.

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

Re: status bar

Post by admin »

I think it's okay to keep the status alive, so you know what just happened. However, I will change the icon to "OK" (green tick) when the UDC is done. Thanks for a good idea!

I can see no issues with:
::status get("Status", 3)

autocart
Posts: 1422
Joined: 26 Sep 2013 15:22

Re: status bar

Post by autocart »

admin wrote:I think it's okay to keep the status alive, so you know what just happened. However, I will change the icon to "OK" (green tick) when the UDC is done. Thanks for a good idea!
Sounds like a good idea from u.
admin wrote: I can see no issues with:
::status get("Status", 3)
The text is the same but the icon changes to the green tick, regardless what icon was there before.

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: status bar

Post by bdeshi »

autocart wrote:

Code: Select all

::status get('Status', 3);
The text is the same but the icon changes to the green tick, regardless what icon was there before.
You're setting a new status (regardless of the text remaining unchanged), but not defining any icon, so the default icon is applied.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

autocart
Posts: 1422
Joined: 26 Sep 2013 15:22

Re: status bar

Post by autocart »

SammaySarkar wrote:
autocart wrote:

Code: Select all

::status get('Status', 3);
The text is the same but the icon changes to the green tick, regardless what icon was there before.
You're setting a new status (regardless of the text remaining unchanged), but not defining any icon, so the default icon is applied.
Ok, that makes sense, but would it not be nice if I could not only read the text with get(..) but also the icon as well and then set the original icon together with the original text again? It is only a brainstorming idea, though, since I stumbled across it. Not really important, I guess.

Post Reply