Estimize Posted October 7, 2015 Posted October 7, 2015 I am trying to compare two variables and I am having no such luckIf $MS1 = >$MS2 Then MouseClick("left" , 1008, 95) sleep (250) MouseClick("left" , 1008, 95) sleep (250) MouseClick("left" , 892, 379) ElseIf $MS1 = <$MS2 Then MouseClick("left" , 1008, 95) sleep(250) MouseClick("left" , 1008, 95) sleep (250) MouseClick("left" , 892, 450) EndIfThis is my string and both variables have been declaredI have attached my error message in the thread if it helps my case at all.Thanks in advance.
Developers Jos Posted October 7, 2015 Developers Posted October 7, 2015 (edited) If you want "greater or equal" then it should be:If $MS1 >= $MS2 ThenJos Edited October 7, 2015 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
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