New script command: tooltip

Features wanted...
highend
Posts: 14955
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: New script command: tooltip

Post by highend »

We really don't need to see the icon along with the balloon tip if the programming would allow for that
Sure it does. E.g. a transparent icon could be used as well
One of my scripts helped you out? Please donate via Paypal

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

Re: New script command: tooltip

Post by admin »

klownboy wrote:Don, I was wondering if when programming for balloon tips, is there any flexibility as to whether you have an associated icon also come up when the balloon tips comes up? I ask because I have other programs like USBDLM that provide tool tip notifications when you install or remove a USB drive, but it doesn't have an icon that comes along with the balloon. We really don't need to see the icon along with the balloon tip if the programming would allow for that.
I think there should be an icon. Anyway, I don't see a way to do that. The nearest I could achieve was an empty space with no icon. That's confusing.

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

Re: New script command: tooltip

Post by admin »

Conc. the queueing I tried everything I could, every possible combination of flags -- can't make it happen. :(
(Of course, no docs on it by MS).

So, I'd say: nuff done concerning balloons.

klownboy
Posts: 4462
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440

Re: New script command: tooltip

Post by klownboy »

Hi Don, it is strange. I've now tried the tray balloon tip on 3 different computers - all of them Windows Pro x64 (1803). My laptop is new this year with hardly anything on it other than XY and a few card games. All 3 behave the same way - the balloon disappears, but the icon stays unless I click the balloon. The icon just doesn't go away when the balloon pops.

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

Re: New script command: tooltip

Post by admin »

Final tests confirm: You can have the queue OR the auto-hiding of the icon. You cannot have both.

highend
Posts: 14955
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: New script command: tooltip

Post by highend »

Then I vote for a flag for trayballoon / a tweak for the .ini file to allow users to choose...
One of my scripts helped you out? Please donate via Paypal

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

Re: New script command: tooltip

Post by admin »

klownboy wrote:Hi Don, it is strange. I've now tried the tray balloon tip on 3 different computers - all of them Windows Pro x64 (1803). My laptop is new this year with hardly anything on it other than XY and a few card games. All 3 behave the same way - the balloon disappears, but the icon stays unless I click the balloon. The icon just doesn't go away when the balloon pops.
Sure you are using the latest beta?

jupe
Posts: 3462
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: New script command: tooltip

Post by jupe »

highend wrote:Then I vote for a flag for trayballoon / a tweak for the .ini file to allow users to choose...
@Don: FWIW my opinion is similar to that expressed by highend above, personally I wouldn't mind the icon showing when the flag is set for the items to be qeueable, and hopefully it can still disappear like it does currently when only using the no flag disposable entries during a session, I just think it is really useful to be able to have a message queue that you can look through with times of notification etc., so my vote would be for a flag.

e.g:

Code: Select all

trayballoon message, [title], [icon=1], [queueable=1]
permanent icon, after the 1st use of trayballoon (which for me is hidden in the up arrow anyway after the balloon has disappeared)

Code: Select all

trayballoon message, [title], [icon=1]
no icon after the balloon has disappeared (like it is currently in .0213)

klownboy
Posts: 4462
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440

Re: New script command: tooltip

Post by klownboy »

admin wrote:Sure you are using the latest beta?
Yes, I'm on v19.10.0213 on my most used computer and I updated the other 2 computers this morning to test them and the new balloon command. Personally, I'm never going to bother looking at tray balloon queue.

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

Re: New script command: tooltip

Post by admin »

Next beta coming later tonight with queueable flag, and something completely different. :)

klownboy
Posts: 4462
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440

Re: New script command: tooltip

Post by klownboy »

Hi Don, I have that new beta v19.10.0214 installed. trayballoon "Don't even think about it!", "Last Warning",0, 0; is giving me inconsistent results. I'd say about 90% of the time I still have the icon after the balloon pops. There are times when it does disappear though. I'll do some more checks in the morning. It is acting that way on 2 computers.

klownboy
Posts: 4462
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440

Re: New script command: tooltip

Post by klownboy »

Just curious for other users of Windows 10 if under Taskbar settings (right click on Taskbar), and then scroll down to "Select which Icons appear on the taskbar", do you have an entry there for XYplorer? I'm not sure why it should be there or needs to be there if we don't have XY set to "minimize to tray" or "on X close" set in XY's Configuration.

In any case, if I have that setting off, I'll get no balloon tip notifications at all in XYplorer. To me that seems a bit odd that the balloon tips is dependent on that setting. So I was wondering if that's the case for others as well (i.e., other programs provide balloon tips but aren't listed in that section). Possibly because in testing I may have had that "Minimize to tray" checked one time so it go listed permanently in the "Select which Icons appear on the taskbar" list.

jupe
Posts: 3462
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: New script command: tooltip

Post by jupe »

@klownboy: I have that setting off you mentioned. During testing this for you the only way I have successfully been able to turn off the toasts via Windows settings is via this settings page:

Settings | System | Notification & Actions | Get Notifications from apps and senders = On
Settings | System | Notification & Actions | Get Notifications from apps and senders = XYplorer = Off

You can also get to these settings by the right click context menu of the XYplorer Title in the Action center when the messages are queued.
I noticed you have posted scripts using /win=tray before, I think that is another way how XY can get listed in the "Select which icons appear on the taskbar" section you mentioned too, but I have never switched XY from the default, which is off in that location.

klownboy
Posts: 4462
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440

Re: New script command: tooltip

Post by klownboy »

Thank you jupe for checking those settings and testing for me. I don't have the second setting you mentioned. Is there a setting within XY concerning sending messages or did you have that setting by some other means?

You may be right about using the /win=tray command line switch. I've used it in a few scripts. Maybe I should have stuck with /win=min. Though if a user had minimize or close to the tray selected may do the same thing.

It still seems a little odd that if I turn the setting "Select which Icons appear on the taskbar" for XYplorer "off", the balloon tips do not display because of that. Possibly, it's tied to that setting "Get Notifications from apps and senders = XYplorer = Off" (that I don't have).
Thanks again.

jupe
Posts: 3462
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: New script command: tooltip

Post by jupe »

Originally it wasn't shown in that list for me either (but toasts still were shown ok), but while testing this I got it to show unintentionally. If you do want to see it, to get that setting to appear, send a message with the queue flag, then right click the title in the action center and select "Go to Notification Settings" which made it appear (at least for me), it then has a whole page of settings like this (but IDK if they will help with your icon problem though):
To see the attached files, you need to log into the forum.

Post Reply