the while doevents loop structure is the one that makes the script to execute your clicks and such.

now, if you don't get value from textbox change the line to:
$PASS=$LABELPASSINPUT.text
_________________________
!

download KiXnet