10-10-2007, 07:33 PM
If stops in random places then don't know. If in the rep line, it also waits if the window does not exist. Maybe also check if the window still exists.
But why do you use IsWindowVisible for a folder window. It makes me think it is for a button in the well known program.
rep
,int w1=win("Local Disk (C:)" "CabinetWClass")
,if(w1=0) ret
,if(IsWindowVisible(w1)) break
,0.001But why do you use IsWindowVisible for a folder window. It makes me think it is for a button in the well known program.
