erix Posted November 6, 2006 Share Posted November 6, 2006 Hello When the example is run in the Beta 3.2.1.12 (Win XP SP2 French) there is a Syntax Error : Opt("WinTitleMatchMode", 2) WinActivate("txt") or WinActivate("TXT") It is really necessary to have a variable for this type of operation. Thank you. Link to comment Share on other sites More sharing options...
/dev/null Posted November 6, 2006 Share Posted November 6, 2006 (edited) It is really necessary to have a variable for this type of operation. yes, because you are using the or operator, so an assignment of the outcome is necessary. However, you are using it in a totally wrong way. What you want to do is this. Opt("WinTitleMatchMode", 2) $errorcode = WinActivate("txt") # check error code HERE ! $errorcode = WinActivate("TXT") # check error code HERE ! Cheers Kurt Edited November 6, 2006 by /dev/null __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * 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