spyoungtech / ahk

Python wrapper for AutoHotkey with full type support. Harness the automation power of AutoHotkey with the beauty of Python.
MIT License
887 stars 66 forks source link

Modify traytip for Hotkey process #303

Open spyoungtech opened 6 months ago

spyoungtech commented 6 months ago

Checked the documentation

describe your feature request

I want to change the tray icon (for example, the tray tip text) for the Hotkey process. Today, is is possible to hide the tray icon for the hotkey process through the NoTrayIcon directive with the apply_to_hotkeys_process keyword.

For the normal daemon process, the menu_tray_* methods can be used for modifying the tray icon. However, there aren't great options for modifying the tray icon in other ways for the hotkey process.