You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//get the current process IDpid:=robotgo.GetPid()
//get the title of the current windowtitle:=robotgo.GetTitle() // succeed//Pass in the process ID to get the window titletitle2:=robotgo.GetTitle(pid) // fail//Press A oncerobotgo.KeyTap("a") // succeed//Pass in the process ID and press A oncerobotgo.KeyTap("a", pid) // fail
Description
In the above code, functions that do not pass in the process ID can be executed normally, for example, 'title' can get the correct title, and the key A can also be triggered normally.
However, when the process ID is passed, the obtained 'title' is an empty string, and the key 'A' will not be triggered normally
The text was updated successfully, but these errors were encountered:
Description
In the above code, functions that do not pass in the process ID can be executed normally, for example, 'title' can get the correct title, and the key A can also be triggered normally.
However, when the process ID is passed, the obtained 'title' is an empty string, and the key 'A' will not be triggered normally
The text was updated successfully, but these errors were encountered: