zerbo Posted September 13, 2005 Posted September 13, 2005 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?
GaryFrost Posted September 13, 2005 Posted September 13, 2005 try this ControlClick("Atlantis Ocean Mind 1.5",'Add to "Start | Programs" menu',"TButton2") SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
layer Posted September 13, 2005 Posted September 13, 2005 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
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