Closed PotatoJet closed 4 years ago
You should start it as any you would call any program from macroMyKBD. The following entry would to the actions.yml should launch an AHK script when pressing windows key + C down.
- cmd: '"c:\program files (x86)\autohotkey\autohotkey.exe" "c:\path\to\my\autohotkey\script.ahk"' events: - keys: [227, 6] on: 'down' only: true device: 1
Look into the included example actions.yml to see the whole structure. To ensure that it works with spaces you need to wrap the paths into double quotes, to prevent troubles the whole command then should be wrapped in single quotes.
Thanks,I will have a try.
You should start it as any you would call any program from macroMyKBD. Put the following entry into the actions.yml, it should launch an AHK script when pressing windows key + C down.
Look into the included example actions.yml to see the whole structure. To ensure that it works with spaces you need to wrap the paths into double quotes, to prevent troubles the whole command then should be wrapped in single quotes.