07-27-2004, 10:02 PM
Oh it worked, just need to put it in a function so that i dont have to retype the same codes over and over.
act "Notepad"
FindMyWindow
;this is the code for FindMyWindow function
err
rep
mes "window not found"
wait 1
ifi "Notepad"
break
mes "window found"
ret
Does it look right? Works just fine for me I am very happy!
tyvm
act "Notepad"
FindMyWindow
;this is the code for FindMyWindow function
err
rep
mes "window not found"
wait 1
ifi "Notepad"
break
mes "window found"
ret
Does it look right? Works just fine for me I am very happy!
tyvm