Skip to content

How can i hide too many instances? #156

Answered by spyoungtech
Eikosa asked this question in Q&A
Discussion options

You must be logged in to vote

You can add the NoTrayIcon directive to hide the tray icon altogether.

from ahk import AHK
from ahk.directives import NoTrayIcon

ahk = AHK(directives=[NoTrayIcon])

Also note that you may see multiple icons even if only one instance is running. If you mouse over the icons, the extras will probably disappear.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@i448
Comment options

@spyoungtech
Comment options

Answer selected by spyoungtech
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
3 participants
Converted from issue

This discussion was converted from issue #151 on June 23, 2022 00:33.