Nologic Posted July 8, 2004 Share 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 Link to comment Share on other sites More sharing options...
randd Posted July 8, 2004 Share 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. Link to comment Share on other sites More sharing options...
Nologic Posted July 8, 2004 Author Share 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. Link to comment Share on other sites More sharing options...
randd Posted July 8, 2004 Share 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now