ondrajka Posted December 22, 2008 Share Posted December 22, 2008 Here is a cut and paste from my script. It works, but I would like to use the If...Then without the While If $min=4210712 Or $min=9324617 Then $b=1 While $b=1 Send("{NUMPAD1}5") Sleep($s) $b=0 $c=1 Wend Link to comment Share on other sites More sharing options...
Zedna Posted December 22, 2008 Share Posted December 22, 2008 Maybe: If $min=4210712 Or $min=9324617 Then Send("{NUMPAD1}5") Sleep($s) $c=1 EndIf Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
ondrajka Posted December 23, 2008 Author Share Posted December 23, 2008 It worked thanks 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