Skip to content

Commit

Permalink
document directives for hotkeys process
Browse files Browse the repository at this point in the history
  • Loading branch information
spyoungtech committed Jul 9, 2023
1 parent 1bcf4bd commit 58a1e15
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/README.md
Expand Up @@ -337,6 +337,20 @@ ahk = AHK(directives=[NoTrayIcon])

By default, some directives are automatically added to ensure functionality and are merged with any user-provided directives.

Directives are not applied for the AHK process used for handling hotkeys and hotstrings (discussed below) by default. To apply a directive
to the hotkeys process using the keyword argument `apply_to_hotkeys_process=True`:

```python
from ahk import AHK
from ahk.directives import NoTrayIcon

directives = [
NoTrayIcon(apply_to_hotkeys_process=True)
]

ahk = AHK(directives=directives)
```

## Menu tray icon

As discussed above, you can hide the tray icon if you wish. Additionally, there are some methods available for
Expand Down

0 comments on commit 58a1e15

Please sign in to comment.