after a bit of sleep and seeing your attachment try this.
int w
run "$program files$\TeamViewer\TeamViewer.exe" "" "" "" 0x800 win("TeamViewer" "#32770") w
;again
str txt.getwintext(child("" "Edit" w 0x0 "id=1")) ;;editable text 'YOUR ID'
if(empty(txt) or txt="-") 0.3; goto again
out txt
str txt1.getwintext(child("" "Edit" w 0x0 "id=1" 2)) ;;editable text 'PASSWORD'
out txt1