Selecting a field in the GoToMyPC registration window does not work in Win10

We regularly deploy hundreds of machines with GoToMyPC on them. Each of them must be registered individually, and before Win10 we were able to do this using AutoIT. With the upgrade to Windows 10, we can select the registration window, but we can’t do send()any keystrokes in the Email address field.

I chose to control Class, Instance, ClassnameNNand [CLASS; INSTANCE]all to no avail.

send() the text still works (checked with notepad and another program other than MS) - so it looks like GoToMyPC.

I also included #RequireAdminin the script and compiled it and ran the EXE as a boneless admin.

Here's the code that doesn't work:

WinActivate ("Authenticate - GoToMyPC") 
WinMove("Authenticate - GoToMyPC", "", 0, 0) 
send("email@address")
ControlSend("Authenticate - GoToMyPC"."","[CLASS:Edit; INSTANCE:1]","email@address")

Any thoughts on what might be causing this / how to get around it?

+4
source share

Source: https://habr.com/ru/post/1626431/


All Articles