Nologic 0 Posted July 8, 2004 (edited) Okay I"m trying to use some script code that looks like so: WinWaitActive ("Active@ UNERASER") ControlClick ("Active@ UNERASER", "&Next >", "Button1") This normally works fine for me...so my best guess is that its the @ symbol...heh so any one want to point me to the right page in the help doc? Please Doh! never mind found a way around it: $title1="Active@ UNERASER" WinWaitActive ($title1) ControlClick ($title1 , "&Next >", "Button1") hehe works just fine now. Nothing a little head banging couldn't cure. blah....also needed the following: AutoItSetOption("WinTitleMatchMode", 3) Edited July 8, 2004 by Nologic Share this post Link to post Share on other sites
randd 0 Posted July 8, 2004 ControlClick ('Active@ UNERASER', "&Next >", "Button1") Will work just fine. Raoul S. Duke: Few people understand the psychology of dealing with a highway traffic cop. Your normal speeder will panic and immediately pull over to the side. This is wrong. It arouses contempt in the cop-heart. Make the bastard chase you. He will follow. Share this post Link to post Share on other sites
Nologic 0 Posted July 8, 2004 What about ? WinWaitActive ("Active@ UNERASER") would that fly as WinWaitActive ('Active@ UNERASER') if you have the time that is...its working now..so I'm not really stressed over it...but I would prefer if my code was clean. Share this post Link to post Share on other sites
randd 0 Posted July 8, 2004 What about ?WinWaitActive ("Active@ UNERASER")would that fly asWinWaitActive ('Active@ UNERASER')if you have the time that is...its working now..so I'm not really stressed over it...but I would prefer if my code was clean. Single quotes will work on the WinWaitActive also. Raoul S. Duke: Few people understand the psychology of dealing with a highway traffic cop. Your normal speeder will panic and immediately pull over to the side. This is wrong. It arouses contempt in the cop-heart. Make the bastard chase you. He will follow. Share this post Link to post Share on other sites