Orgins Posted April 2, 2009 Share Posted April 2, 2009 $i= 0 Do $i=$i + 1 If $i=1 then _IENavigate ($oIE, "http://s3.asdf.us/b.php?a=" & $v1) ElseIf $i=2 _IENavigate ($oIE, "http://s4.asdf.us/b.php?a=" & $v2) ElseIf $i=3 _IENavigate ($oIE, "http://s4.asdf.us/b.php?a=" & $v3) endif C:\Documents and Settings\********\Desktop\New AutoIt v3 Script.au3(36,18) : ERROR: syntax error ElseIf $i=2 I've not done autoit (or any coding) for a while did I miss something simple? I'm a newbie.Sorry if I don't reposed to your replays very fast. Link to comment Share on other sites More sharing options...
Developers Jos Posted April 2, 2009 Developers Share Posted April 2, 2009 Then missing? 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. Link to comment Share on other sites More sharing options...
Marlo Posted April 2, 2009 Share Posted April 2, 2009 ElseIf statements still require a Then statement. ElseIf $i=2 Then Click here for the best AutoIt help possible.Currently Working on: Autoit RAT Link to comment Share on other sites More sharing options...
Orgins Posted April 2, 2009 Author Share Posted April 2, 2009 (edited) Then missing?Yes... it is. Edited April 2, 2009 by Orgins I'm a newbie.Sorry if I don't reposed to your replays very fast. 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