Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
get the value of a control on the window
#3
Did not get any value,

I don't know how to wait for the control to activate. Huh


Macro Macro5
Code:
Copy      Help
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


Messages In This Thread
get the value of a control on the window - by win - 11-08-2018, 03:06 AM
RE: get the value of a control on the window - by win - 11-08-2018, 03:58 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)