New script command: tooltip
-
highend
- Posts: 14955
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: New script command: tooltip
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
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
Yep, gotta catch NIN_BALLOONTIMEOUT. Next version...
FAQ | XY News RSS | XY X
-
klownboy
- Posts: 4462
- Joined: 28 Feb 2012 19:27
- Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440
Re: New script command: tooltip
I tried all three of the examples in the beta notes and I get no balloon.
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.
-
jupe
- Posts: 3462
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
Re: New script command: tooltip
If you have Focus Assist (Quiet mode) active they only show in Action Center, but they show ok for me on the same OS.
-
klownboy
- Posts: 4462
- Joined: 28 Feb 2012 19:27
- Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440
Re: New script command: tooltip
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.
-
admin
- Site Admin
- Posts: 66365
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: New script command: tooltip
You can turn it off somewhere. Check this key:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\EnableBalloonTips
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\EnableBalloonTips
FAQ | XY News RSS | XY X
-
highend
- Posts: 14955
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: New script command: tooltip
0212 works fine regarding the system tray icon. thanks!
One of my scripts helped you out? Please donate via Paypal
-
klownboy
- Posts: 4462
- Joined: 28 Feb 2012 19:27
- Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440
Re: New script command: tooltip
I had no entry there. Though I probably could have made the entry and set it to "1" to see if that worked...instead...admin wrote:You can turn it off somewhere. Check this key:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\EnableBalloonTips
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...
In case someone else has the issue I had...it's working now.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.
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.
Last edited by klownboy on 30 Aug 2018 20:53, edited 1 time in total.
-
Filehero
- Posts: 2732
- Joined: 27 Feb 2012 18:50
- Location: Windows 11@100%
Re: New script command: tooltip
Yes, since the balloon is a nice dark square on Windows 10, I do see this can add real value for certain script tasks.
FunnyThe 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!
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?
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 iconQ: 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?
-
klownboy
- Posts: 4462
- Joined: 28 Feb 2012 19:27
- Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440
Re: New script command: tooltip
With beta
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).v19.10.0212 - 2018-08-29 20:00
* SC TrayBalloon: Now the tray icon is automatically removed when the
balloon comes down.
-
jupe
- Posts: 3462
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
Re: New script command: tooltip
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.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?
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.
PS: loving this new command
To see the attached files, you need to log into the forum.
-
admin
- Site Admin
- Posts: 66365
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: New script command: tooltip
1) Refresh issue of the taskbar in Win10?klownboy wrote:With betaMy 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).v19.10.0212 - 2018-08-29 20:00
* SC TrayBalloon: Now the tray icon is automatically removed when the
balloon comes down.
2) Should work better in next beta.
FAQ | XY News RSS | XY X
-
admin
- Site Admin
- Posts: 66365
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: New script command: tooltip
I poked around a bit to improve it. Once again the docs could be better... ( Microsoft.Explorer.Notification... huh?jupe wrote: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.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?
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
FAQ | XY News RSS | XY X
-
klownboy
- Posts: 4462
- Joined: 28 Feb 2012 19:27
- Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440
Re: New script command: tooltip
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.
-
admin
- Site Admin
- Posts: 66365
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: New script command: tooltip
This must be a Win10 issue. No such hassle here (Win8.1).
FAQ | XY News RSS | XY X
XYplorer Beta Club