Page 1 of 1

#NoTrayIcon suppresses Notifications in Windows 10

Posted: 12 Jan 2018, 04:13
by bers
[Moderator's note: Topic moved from Bug Reports.]

Before the action center, TrayTip issued only balloon notifications linked to the tray icon. So in case, it did (and still does) make sense that
TrayTip has no effect if the script lacks a tray icon (via #NoTrayIcon or Menu, Tray, NoIcon).
https://autohotkey.com/docs/commands/TrayTip.htm

HOWEVER,
balloon tips have been completely replaced by "toast" notifications in Windows 10, so TrayTip already produces a "toast" notification.
http://autohotkey.com/board/topic/14824 ... /?p=728989

To me, this should mean that #NoTrayIcon should not suppress "toast" notifications in Windows 10. Is that possible to achieve somehow?

Re: #NoTrayIcon suppresses Notifications in Windows 10

Posted: 12 Jan 2018, 05:42
by lexikos
The program is behaving exactly as documented (and the documentation is correct), so this does not fit my definition of a bug.

And no, it is not possible to generate toast notifications using TrayTip (Shell_NotifyIcon) without a tray icon. It would require new code, which would be much "heavier" and would only work on Windows 10.

You can do it with a script.

Re: #NoTrayIcon suppresses Notifications in Windows 10

Posted: 12 Jan 2018, 06:26
by bers
I agree, it's more a feature request than a bug - sorry. Thanks for the link, I will try that one instead of TrayTip!