SKris Posted March 30, 2011 Share Posted March 30, 2011 i have something like $Array[0]="606" $Array[1]="601" $Array[2]="630" $Array[3]="600" $Array[4]="641" $Array[5]="642" $Array[6]="681" $Array[7]="693" $Array[8]="711" $Array[9]="692" $Array[10]="722" $i=0 Do MouseClick("right", $Array[$i], 500) $i=$i+1 Until $i=10 it doesnt work, so it seems it have something to do with $Array[$i]. What should i use instead? ty Link to comment Share on other sites More sharing options...
kaotkbliss Posted March 30, 2011 Share Posted March 30, 2011 (edited) I would change your Do..Until to Dim $Array[12] $Array[0]=11 $Array[1]="606" $Array[2]="601" $Array[3]="630" $Array[4]="600" $Array[5]="641" $Array[6]="642" $Array[7]="681" $Array[8]="693" $Array[9]="711" $Array[10]="692" $Array[11]="722" For $i=1 To Ubound($Array)-1 MouseClick("right", $Array[$i], 500) Next *edit* this works perfect Edited March 30, 2011 by kaotkbliss 010101000110100001101001011100110010000001101001011100110010000 001101101011110010010000001110011011010010110011100100001 My Android cat and mouse gamehttps://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek We're gonna need another Timmy! Link to comment Share on other sites More sharing options...
SKris Posted March 30, 2011 Author Share Posted March 30, 2011 ty vm 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