Skip to content
Discussion options

You must be logged in to vote

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. I'll fix this soon! Fixed

EDIT:

You can also use win_get instead of using Window.from_pid

ahk = AHK()
win = ahk.win_get(title='ahk_pid 20366')

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by pp7sec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants
Converted from issue

This discussion was converted from issue #119 on June 23, 2022 00:35.