need help engine in ahk.window.Window.from_pid #157
-
What is engine ? |
Beta Was this translation helpful? Give feedback.
Answered by
spyoungtech
May 2, 2021
Replies: 1 comment
-
engine should be the AHK instance: ahk = AHK()
win = Window.from_pid(ahk, pid='5392') It seems there's an error in the README where the argument is omitted. EDIT: You can also use ahk = AHK()
win = ahk.win_get(title='ahk_pid 20366') |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
pp7sec
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
engine should be the AHK instance:
It seems there's an error in the README where the argument is omitted.
I'll fix this soon!FixedEDIT:
You can also use
win_get
instead of usingWindow.from_pid