Can someone tell me why this isn't working? I got the field focused, but it doesn't type.
$Title = WingetHandle("[CLASS:#32770; TITLE:TeamViewer]", "") If @error Then MsgBox(16, "Error", "Failed to find TeamViewer Windows.") Exit EndIf sleep(1000) While 1 WinActivate($Title, "") if WinWaitActive ($Title, "", 2) Then ControlSetText("TeamViewer", "", "[CLASS:Edit; INSTANCE:1]", "Test") Else Exit EndIf WEnd Exit
I'm try to set it to type Test on Partner ID field...