Search found 3 matches

by bsayles
01 Jun 2019, 19:55
Forum: AutoHotkey_H
Topic: How to combine autohotkey dll with Python?
Replies: 6
Views: 623

Re: How to combine autohotkey dll with Python?

sure. the py module I'm using is from ahk import AHK. It's in Python 3. How should this be written? I'm new to AHK. Thanks for your help.
by bsayles
01 Jun 2019, 15:07
Forum: AutoHotkey_H
Topic: How to combine autohotkey dll with Python?
Replies: 6
Views: 623

Re: How to combine autohotkey dll with Python?

ahk = AHK(executable_path = r'C:\Users\bryan\AppData\Local\Programs\Python\Python37-32\ahkdll-v2-release-master\x64w_MT\AutoHotkey.dll') def hotkeys (): if ahk.key_press('Control', 'Shift', 'z'): ahk.execute(ahk.key_press('m')) elif ahk.key_press('Control', 'Shift', 'x'): ahk.execute(ahk.key_press('...
by bsayles
31 May 2019, 22:08
Forum: AutoHotkey_H
Topic: How to combine autohotkey dll with Python?
Replies: 6
Views: 623

How to combine autohotkey dll with Python?

I'm new to writing hotkeys through Autohotkey dll. I've been trying to combine autohotkey dll with Python's ahk module. But every time I write hotkeys, I get various errors. Do you have an example or tutorial on how the code for keyboard hotkeys is suppose to work through autohotkey dll? Thanks for ...

Go to advanced search