qwqwwqwdwd Posted January 23, 2007 Share Posted January 23, 2007 $coord = PixelSearch( 0, 0, 20, 300, 0x673D17 ) If Not @error Then MouseClick("left", $coord[0], $coord[1], 1, 0) Sleep( 2000 ) Send( "{NUMPAD1}" ) AutoItSetOption ( "sendkeydowndelay", 100) EndIf I want this script to whenever it detect the pixel in certain range , mouse will move to the pixel and left click and then using Numperpad 1 . Is my script right? please give me some advise. Link to comment Share on other sites More sharing options...
Psibernetic Posted January 23, 2007 Share Posted January 23, 2007 (edited) I am not sure, but shouldnt you Dim Coord$ as an array first? I am not sure, I havent used that function.. also, would the Option statement be at teh beginning of code? ...my helpfile wont work at school so I might just be saying nonsense.. Edited January 23, 2007 by Psibernetic [sup]Psibernetic[/sup]My Creations:X-HideSecuracy Link to comment Share on other sites More sharing options...
qwqwwqwdwd Posted January 23, 2007 Author Share Posted January 23, 2007 I am not sure, but shouldnt you Dim Coord$ as an array first? I am not sure, I havent used that function.. also, would the Option statement be at teh beginning of code? ...my helpfile wont work at school so I might just be saying nonsense..MAYBE UR right cuz im a newbie i just start learning scripitng 2 days ago... lol 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