Jump to content

Help With Error


zerbo
 Share

Recommended Posts

Hi Guys

Im trying to create a Autoit script to install a program for me.

But I seem to have a problem:

One of the windows that it need access to auto-click the next button has a " and a | in it. Therefore when I type the statement

WinWaitActive("Atlantis Ocean Mind 1.5")

ControlClick("Atlantis Ocean Mind 1.5","Add to "Start | Programs" menu","TButton2")

---------------------------------------

and run the sript I get the Error:

ControlClick("Atlantis Ocean Mind 1.5","Add to "Start | Programs" menu","TButton2")

ControlClick("Atlantis Ocean Mind 1.5","Add to ^ ERROR

Erorr: Unable to parse Line.

---------------------------------

How can I fix this Error?

Link to comment
Share on other sites

Yea, use what gafrost says, see if that works -- it should. But for future reference I'll tell you why it should work, I don't know if you're read this, but, I'll tell you anyway.

AutoIt can parse things like "'" or '"'. So if you ever have to winmove something with quotes, or Run something with quotes, anything that needs quotes but you need to use quotes in the first place, use single quote, like: ' ... Vice versa for single quote.

FootbaG
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...