johanneshahn Posted December 12, 2004 Share Posted December 12, 2004 Hi. I have a little problem. I have a part in my script called: controlclick("This is only an "Example Windows" and so on", "OK", "Button2") The problem with this is that there are extra quotation marks in the title of the window. AutoIT 3 now thinks, that this is a new command. What shall I do??? Thanks for help. Regards, Johannes. Link to comment Share on other sites More sharing options...
Helge Posted December 12, 2004 Share Posted December 12, 2004 Try this :controlclick('"This is only an "Example Windows" and so on"', "OK", "Button2")Note the use of : ' Link to comment Share on other sites More sharing options...
MHz Posted December 12, 2004 Share Posted December 12, 2004 Opt("WinTitleMatchMode", 1) ;1=start, 2=subStr, 3=exact, 4=...You could use 2 for this option, so you just need part of the title. Or leave it as standard and insert the part of the title up to the quotes. Link to comment Share on other sites More sharing options...
Helge Posted December 12, 2004 Share Posted December 12, 2004 Opt("WinTitleMatchMode", 1) ;1=start, 2=subStr, 3=exact, 4=...You could use 2 for this option, so you just need part of the title.Or leave it as standard and insert the part of the title up to the quotes.<{POST_SNAPBACK}>That`s a terrible workaround, which in many situations wouldn`t even work.. Link to comment Share on other sites More sharing options...
johanneshahn Posted December 12, 2004 Author Share Posted December 12, 2004 Try this :controlclick('"This is only an "Example Windows" and so on"', "OK", "Button2")Note the use of : '<{POST_SNAPBACK}>Thx man, this worked !!!. I thought of something like this and added the ' to the beginning of "Example Window" so it couldn't work, but thanks!!! Very pursuable!!!That's it, :delete please 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