We deploy machines with GoToMyPC on them. Each has to be registered individually and until Windows 10 we were able to do this via AutoIt.
With Windows 10 we can select the registration window but are unable to Send()
keystrokes to the Email address field. I've selected the control by Class
, Instance
, ClassnameNN
, and [CLASS; INSTANCE]
all to no avail. send()
-ing text still works (verified with Notepad and a non-Microsoft program), so it seems specific to GoToMyPC.
I included #RequireAdmin
and ran the compiled executable as Administrator; no dice. Here's the code :
WinActivate("Authenticate - GoToMyPC")
WinMove("Authenticate - GoToMyPC", "", 0, 0)
Send("email@address")
ControlSend("Authenticate - GoToMyPC". "", "[CLASS:Edit; INSTANCE:1]", "email@address")
How to get around it?