Available Methods
Most methods from autohotkey are implemented in this wrapper. This page can serve as a quick reference to find Python equivalents of AutoHotkey commands/functions that are implemented in the wrapper.
Methods that are not implemented are also noted here for reference. This is a work in progress and may not list all [un]available methods. Check the full API reference for more complete information.
Mouse and Keyboard
AutoHotkey Command |
Status |
Notes |
---|---|---|
Not Implemented |
||
Implemented |
||
Implemented |
||
Implemented |
||
Implemented |
|
|
Implemented |
|
|
Implemented |
|
|
Not Implemented |
||
Not Implemented |
||
Implemented |
||
Not Implemented |
||
Not Implemented |
||
Implemented |
||
Not Implemented |
Use python |
|
Not Implemented |
||
Implemented |
||
Implemented |
||
Implemented |
||
Implemented |
||
Implemented |
||
Implemented |
||
Implemented |
||
Implemented |
Speed is controlled by the |
|
Implemented |
Delay is controlled by the |
|
Not Implemented |
Delays between mouse movements can be controlled in Python code between calls to |
|
Not Implemented |
||
Not Implemented |
||
Not Implemented |
Hotkeys
AutoHotkey Command |
Status |
Notes |
---|---|---|
Implemented |
Before 1.0, callbacks were only supported as Autohotkey Scripts |
|
Implemented |
Available in 1.0+ |
|
Implemented* |
Use stop_hotkeys and start_hotkeys to enable/disable hotkeys |
ClipBoard
AutoHotkey Command |
Status |
Notes |
---|---|---|
Implemented |
||
Implemented |
|
|
Implemented |
Screen/Image
AutoHotkey Command |
Status |
Notes |
---|---|---|
Implemented |
||
Implemented |
||
Implemented |
Registry
AutoHotkey Command |
Status |
Notes |
---|---|---|
Implemented |
||
Implemented |
||
Implemented |
||
Not Implemented |
Window
Window | Controls
AutoHotkey Command |
Status |
Notes |
---|---|---|
Implemented |
||
Implemented |
|
|
Not Implemented |
||
Implemented |
||
Not Implemented |
||
Implemented |
||
Implemented |
||
Implemented |
||
Implemented |
||
Implemented |
||
Not Implemented |
||
Not Implemented |
||
Not Implemented |
||
Not Implemented |
Window | Groups
AutoHotkey Command |
Status |
Notes |
---|---|---|
Window functions
AutoHotkey Command |
Status |
Notes |
---|---|---|
Implemented |
Any directive can be added to the daemon |
|
Planned |
||
Implemented |
Use |
|
Not Implemented |
Use Python |
|
Not Implemented |
Use Python |
|
Implemented |
||
Not Implemented |
Delays can be controlled in Python code |
|
Not Implemented |
||
Not Implemented |
||
Implemented |
|
|
Implemented |
||
Implemented |
|
|
Implemented |
|
|
Implemented |
||
Implemented |
|
|
Not Implemented |
||
Not Implemented |
Use |
|
Implemented |
|
|
Implemented |
|
|
Implemented |
|
|
Implemented |
|
|
Implemented |
|
|
Implemented |
|
|
Implemented |
||
Implemented |
||
Not Implemented |
||
Implemented |
||
Implemented |
||
Implemented |
|
|
Implemented |
||
Implemented |
||
Implemented |
||
Implemented |
||
Implemented |
Sound
AutoHotkey Command |
Status |
Notes |
---|---|---|
Implemented |
||
Implemented |
||
Implemented |
||
Implemented |
||
Implemented |
||
Implemented |
GUI
GUI methods are largely unimplmented, except ToolTip
and TrayTip
.
We recommend using one of the many Python GUI libraries, such as tkinter
from the standard library or a third
party package such as pyqt , pysimplegui or similar.
AutoHotkey Command |
Status |
Notes |
---|---|---|
Not Implemented |
||
Not Implemented |
||
Not Implemented |
||
Not Implemented |
||
Not Implemented |
||
Not planned |
||
Not planned |
||
Implemented |
|
|
Implemented |
|
|
Implemented |
|
|
Not Implemented |
||
Not Implemented |
||
Not Planned |
||
Not Planned |
||
Implemented |
|
|
Not Planned |
||
Not Planned |
||
Not Planned |
||
Not Planned |
||
Implemented |
||
Implemented |
Directives
In general, all directives are technically usable, however many do not have applicable context in the Python library.
Directives are mentioned in tables above and are omitted from this table.
For example, to use the NoTrayIcon
directive
from ahk import AHK from ahk.directives import NoTrayIcon ahk = AHK(directives=[NoTrayIcon])
AutoHotkey Command |
Notes |
---|---|
Using this directive is strongly discouraged as it is very likely to cause issues. Use with extreme caution. |
|
Hotkey callbacks are run in Python, so this largely won’t have any significant effect |
|
Removed in |
|
If you use hotkeys or hotstrings, you probably also want to configure this as a hotkey transport option |
|
This is on by default in scripts run by this library |
|
This directive is provided by default (SingleInstance Off for the main thread) |
|
Not relevant for this library |
|
Not relevant for this library |
|
Not relevant for this library |
|
Not relevant for this library |
|
Not relevant for this library |
|
Not relevant for this library |
|
Not relevant for this library |
|
Not relevant for this library |
|
Not relevant for this library |
|
Not relevant for this library |