Closed filantus closed 6 months ago
Thanks for this. Though, I have some other thoughts on how this problem can be solved, and in a way that works when using both AutoHotkey v1 and v2, and perhaps also support other tray icon functionality. I've opened #303 to track this effort.
Hello! Sorry if i got something wrong and for long post. But i stumbled on issue (for me at least).
My goal was just run script and change AHK tray icon tip (from
executor.ahk
to anything else). I read aboutmenu_tray_tooltip
method and used it. But instead of just changing tip i got two tray icons! one of these was with text stated by me and another one was initial icon with tipexecutor.ahk
.Then i tried
menu_tray_icon_hide
method, and it's hide icon with my text and leave only one with textexecutor.ahk
. So it's seems what use bothmenu_tray_tooltip
andmenu_tray_icon_hide
makes no sense.Ok. Moving on. After that i tried
menu_tray_tooltip
withNoTrayIcon(apply_to_hotkeys_process=True)
directive. So i got one icon with my text. Almost win. But there is one problem. That icon hasn't menu like initial icon with tipexecutor.ahk
has. But i want to keep that menu.And looks like to achieve that it must be changed tip of exactly that icon with
executor.ahk
text.So i wrote new directive for that. And create this pull request to share it with all.
Example of usage: