lopolop Posted October 30, 2005 Share Posted October 30, 2005 (edited) I have tryed to use Switch Case for beta. When i Use it, it thinks when i have case, iam trying to do Select case and not switch and gives a error, "Case" statement with no matching "Select" statement.:Case 0. even if i open the switch case help file it still gives the same error when i try to run it... any help would be great Edited October 30, 2005 by lopolop Link to comment Share on other sites More sharing options...
SlimShady Posted October 30, 2005 Share Posted October 30, 2005 Show your script please. Link to comment Share on other sites More sharing options...
lopolop Posted October 30, 2005 Author Share Posted October 30, 2005 o sorry about that While 1 MouseMove( 236 , 470 ) Sleep(3500) $var = PixelGetColor( 236 , 470 ) If $var = 5985882 Then Switch Random(0, 5, 1) Case 0 $x = 423 $y = 564 Case 1 $x = 463 $y = 534 Case 2 $x = 433 $y = 502 Case 3 $x = 423 $y = 564 Case 4 $x = 420 $y = 580 Case 5 $x = 330 $y = 220 EndSwitch MouseClick("left",$x,$y) Else Sleep(0) EndIf WEnd Link to comment Share on other sites More sharing options...
w0uter Posted October 30, 2005 Share Posted October 30, 2005 (edited) sorry but wtf is sleep(0) do you use scite ? do you use the beta-run ? do you use the beta-au3check ? Edited October 30, 2005 by w0uter My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll Link to comment Share on other sites More sharing options...
lopolop Posted October 30, 2005 Author Share Posted October 30, 2005 o the sleep(0) was just to put in place because i aint done with the code once i fix this problem and i am using scite Link to comment Share on other sites More sharing options...
Developers Jos Posted October 30, 2005 Developers Share Posted October 30, 2005 (edited) Please read the Sticky at the top of the BUG forum before posting supposed BUG reports or if you have support questions Post in the Support forum. You have not posted any script that shows the supposed BUG.... I assume you are using the Beta version right ? Edited October 30, 2005 by JdeB 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...
lopolop Posted October 30, 2005 Author Share Posted October 30, 2005 yes i said at the top i am using beta... and when i put this code in scite it says at the run thing at the bottom that "Case" statement with no matching "Select" statement.:Case 0 when i am not using select.... Link to comment Share on other sites More sharing options...
jpm Posted November 2, 2005 Share Posted November 2, 2005 as it is just a support question I move it o support forum Link to comment Share on other sites More sharing options...
CyberSlug Posted November 2, 2005 Share Posted November 2, 2005 ALT + F5 to run... right? not just F5...Yeah, Alt-F5 runs with Beta version. Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! 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