-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
loads of AHK application icons in task bar wen de- and re-activating hotkeys #216
Comments
Yeah, this is a known behavior. As you noticed, the icons disappear when you mouse over them and Windows realizes the process is no longer running for those icons and cleans them up. So, there aren't actually that many processes actually running -- it's just the icon that's hanging around. I'm guessing this happens because the current process for restarting the process is not very nice and goes straight to It might be possible send some signal other than kill/terminate to stop the process (maybe this requires implementing signal handling in AHK?). It may also be possible to remove the need to actually stop/restart the process to add/remove hotkeys and hotstrings. As a workaround, maybe hiding the tray icon altogether would work for you. Right now, there is no interface for this with respect to the process used for hotkeys, but is planned as part of #211 |
FYI: a release candidate If all works out, it should be included in the upcoming 1.2.0 release, which should be forthcoming. |
1.2.0 is now released with the ability to hide the tray icon for hotkeys. |
somehow related to #211 , when working with the following functions in a cycle, more and more task bar icons containing the AHK logo appear:
add_hotkey( ... )
start_hotkeys()
stop_hotkeys()
clear_hotkeys()
please see the small video which demonstrates the effect:
2023-07-09_registration_cycle_creates_AHK_app_icons_in_taskbar_40_30fps.mp4
the source code is here:
The text was updated successfully, but these errors were encountered: