Page 2 of 5

Re: New script command: tooltip

Posted: 29 Aug 2018 16:59
by highend
Thanks but can you please remove the additional system tray icon once the tooltip disappeared? Otherwise it'll stay there until XY is closed oO

Re: New script command: tooltip

Posted: 29 Aug 2018 17:15
by admin
Yep, gotta catch NIN_BALLOONTIMEOUT. Next version...

Re: New script command: tooltip

Posted: 29 Aug 2018 18:13
by klownboy
I tried all three of the examples in the beta notes and I get no balloon. :cry: Using windows 10 x64 Pro. I tried it from menu Scripting | Run Script and from a User defined command. Is there some system setting that may be wrecking havoc here? I also closed or disabled AHK (startup script) to make sure it wasn't affecting it. No error messages or any type of indication of failure.

Re: New script command: tooltip

Posted: 29 Aug 2018 18:23
by jupe
If you have Focus Assist (Quiet mode) active they only show in Action Center, but they show ok for me on the same OS.

Re: New script command: tooltip

Posted: 29 Aug 2018 18:55
by klownboy
Focus Assist is Off. After running the new balloon command I'm getting an icon in the tray which I usually do not have but no balloons (Minimize to Tray in Configuration is not checked). I have been trying different taskbar setting with no luck. Pretty standard system I have - no fancy desktop apps.

Re: New script command: tooltip

Posted: 29 Aug 2018 19:35
by admin
You can turn it off somewhere. Check this key:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\EnableBalloonTips

Re: New script command: tooltip

Posted: 29 Aug 2018 20:21
by highend
0212 works fine regarding the system tray icon. thanks!

Re: New script command: tooltip

Posted: 29 Aug 2018 21:01
by klownboy
admin wrote:You can turn it off somewhere. Check this key:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\EnableBalloonTips
I had no entry there. Though I probably could have made the entry and set it to "1" to see if that worked...instead...

I did some research and found out in some versions of Windows 10 Pro, Balloon Tips are actually OFF by default as mine were. From Winaero.com...
Enable balloon notifications in Windows 10 and disable toasts:
Windows 10 comes with a new feature - it shows all app and system notifications as toasts. Gone are the balloon notifications which were there since Windows 2000, you will not see a single balloon tooltip notification from software you are using! Instead, you will see a toast notification in Windows 8 style, which, probably, will work along with the new Notification Center in Windows 10. However, if you like balloon notifications and are not happy with toasts, you can restore balloon notifications back in Windows 10. Windows 10 Pro users can follow this instruction:

Press Win + R shortcut keys together on the keyboard to open the Run dialog. See the list of Win key shortcuts and new global hotkeys in Windows 10.
Type the following in the Run box:
gpedit.msc
Go to the following path in the left pane of Group Policy Editor:
User Configuration \ Administrative Templates \ Start Menu and Taskbar
Locate and modify the following setting: Disable showing balloon notifications as toasts.
Set it to Enabled as shown below.
In case someone else has the issue I had...it's working now. :tup: Thanks and very nice. Also very nice is SC sync which I finally got around to using this week! :tup: :appl:

Edit: For Windows Home users this registry change will enable BalloonTips.
Open Registry Editor.
Go to the following Registry key:
HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows\Explorer
Tip: You can access any desired Registry key with one click.
If you have no such Registry key, then just create it.

Create a new 32-bit DWORD value named EnableLegacyBalloonNotifications. Note: If you are running 64-bit Windows 10, you still need to create a 32-bit DWORD value. Set its value data to 1.

Re: New script command: tooltip

Posted: 29 Aug 2018 21:13
by Filehero
Yes, since the balloon is a nice dark square on Windows 10, I do see this can add real value for certain script tasks. :tup:

Funny

Code: Select all

        trayballoon "Don't even think about it!", "Last Warning", 2;
        trayballoon "Don't even think about it!", "Last Warning", 34; //BIG warning icon
The icon isn't any different on Win 10, but I don't care since the standard size is "WARNING" enough. Option 4 is great, finally a use case where the large XY icon can shine! :) :) :beer:

Q: Windows 10 (Windows 8 I don't remember anymore) has this notification center history (where the balloon message content gets stored for later inspection after the balloon itself has disappeared). This would be very useful for some of my use cases where a suite of scripts could put a (disposable) entry for each script's run result at the system default place.
Is there a way to add this?

Re: New script command: tooltip

Posted: 29 Aug 2018 21:57
by klownboy
With beta
v19.10.0212 - 2018-08-29 20:00
* SC TrayBalloon: Now the tray icon is automatically removed when the
balloon comes down.
My XYplorer tray icon remains in the tray even after the balloon is popped / disappears on its own. The only time it goes away is if I hit the "X" on the balloon, otherwise it's there until I close XY and restart it. If I right or left click the icon nothing happens though I wouldn't expect something to happen since it shouldn't be there. If I click somewhere on the balloon but not on the "X", the balloon disappears but the icon remains (instead of being on the tray and visible, it becomes a hidden icon - where you have to hit the up arrow to see it).

Re: New script command: tooltip

Posted: 30 Aug 2018 03:30
by jupe
Filehero wrote:Q: Windows 10 (Windows 8 I don't remember anymore) has this notification center history (where the balloon message content gets stored for later inspection after the balloon itself has disappeared). This would be very useful for some of my use cases where a suite of scripts could put a (disposable) entry for each script's run result at the system default place.
Is there a way to add this?
Yeah Don, in version .0211 If you didn't interact with the balloon the messages they all got queued in Action Center with the time they arrived and then you could look over them all before clearing them all, I also thought this behavior was preferred in some situations, so could you make that behavior work like that again but without the tray icon showing still, maybe by a flag so the default is how it is now they are disposable but also have an option to make them sticky like they were in .0211.

Also something I noticed is that if you issue the command, and then run it again before the first one has disappeared then the tooltip slides into the screen weird for me (sometimes) and then has this extra Microsoft.Explorer.Notification... text, no big deal just mentioning it FYI, if you run it again the 3rd time it is normal and then the 4th time it is back to having the extra text, rinse repeat.
2018-08-30_114530.png
PS: loving this new command

Re: New script command: tooltip

Posted: 30 Aug 2018 09:13
by admin
klownboy wrote:With beta
v19.10.0212 - 2018-08-29 20:00
* SC TrayBalloon: Now the tray icon is automatically removed when the
balloon comes down.
My XYplorer tray icon remains in the tray even after the balloon is popped / disappears on its own. The only time it goes away is if I hit the "X" on the balloon, otherwise it's there until I close XY and restart it. If I right or left click the icon nothing happens though I wouldn't expect something to happen since it shouldn't be there. If I click somewhere on the balloon but not on the "X", the balloon disappears but the icon remains (instead of being on the tray and visible, it becomes a hidden icon - where you have to hit the up arrow to see it).
1) Refresh issue of the taskbar in Win10?
2) Should work better in next beta.

Re: New script command: tooltip

Posted: 30 Aug 2018 09:25
by admin
jupe wrote:
Filehero wrote:Q: Windows 10 (Windows 8 I don't remember anymore) has this notification center history (where the balloon message content gets stored for later inspection after the balloon itself has disappeared). This would be very useful for some of my use cases where a suite of scripts could put a (disposable) entry for each script's run result at the system default place.
Is there a way to add this?
Yeah Don, in version .0211 If you didn't interact with the balloon the messages they all got queued in Action Center with the time they arrived and then you could look over them all before clearing them all, I also thought this behavior was preferred in some situations, so could you make that behavior work like that again but without the tray icon showing still, maybe by a flag so the default is how it is now they are disposable but also have an option to make them sticky like they were in .0211.

Also something I noticed is that if you issue the command, and then run it again before the first one has disappeared then the tooltip slides into the screen weird for me (sometimes) and then has this extra Microsoft.Explorer.Notification... text, no big deal just mentioning it FYI, if you run it again the 3rd time it is normal and then the 4th time it is back to having the extra text, rinse repeat.

2018-08-30_114530.png

PS: loving this new command
I poked around a bit to improve it. Once again the docs could be better... ( Microsoft.Explorer.Notification... huh? :veryconfused: )

Re: New script command: tooltip

Posted: 30 Aug 2018 18:21
by klownboy
Hey Don, with beta v19.10.0213, I see some improvement in the balloon icon doing its disappearing act. Now, on some occasions, the balloon pops and the icon also goes away. It seems to be inconsistent. Unfortunately the icon stays more than it goes away. I can't seem to nail down if a particular action might cause the icon to go away. One plus -the icon always goes away now if I click anywhere on the balloon - not just the X. If I take no action once-so-ever, the balloon pops but the icon still remains. It remains until I run the command again and I click anywhere on the balloon.

Re: New script command: tooltip

Posted: 30 Aug 2018 20:22
by admin
This must be a Win10 issue. No such hassle here (Win8.1).