Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Window not found, macro stops
#8
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 Tongue I am very happy!

tyvm


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)