Jump to content

Failure do to ASCII in Window Title


Recommended Posts

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 :ph34r:

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. :lol:

blah....also needed the following:

AutoItSetOption("WinTitleMatchMode", 3)

Edited by Nologic
Link to comment
Share on other sites

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

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. :ph34r:

Link to comment
Share on other sites

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. :ph34r:

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...