11-08-2018, 03:58 AM
Did not get any value,
I don't know how to wait for the control to activate.
Macro Macro5
I don't know how to wait for the control to activate.
Macro Macro5
run "$program files$\TeamViewer\TeamViewer.exe" "" "" "*" ;;TeamViewer 13
;Here is a little problem, how to wait for the control to activate, then, get the control value
int w=wait(0 WA win("TeamViewer" "#32770"))
str txt.getwintext(child("" "Edit" w 0x0 "id=1")) ;;editable text 'YOUR ID'
out txt
str txt1.getwintext(child("" "Edit" w 0x0 "id=1" 2)) ;;editable text 'PASSWORD'
out txt1