Hi All could plesae guide what is wrong in the below script
the folloowing script never ends even the object is set to true. do i need to modify anything on below script
While (ControlCommand("Documents - odeeqa@slc07ivz.us.oracle.com - WinSCP","","[CLASS:TDirView; INSTANCE:1]","Is Visible", ""))<>1
MsgBox(1,"",ControlFocus("Documents - odeeqa@slc07ivz.us.oracle.com - WinSCP","","[CLASS:TDirView; INSTANCE:1]"))
WEnd
Send("{alt}")