Guest teh_hackerer Posted June 22, 2005 Share Posted June 22, 2005 I've been trying to find out a simple script but cant seem to find anything to help me on it, so I turned to the forums. I'm also a n00b at scripting. I'm trying to make a simple script, something like this: Mouseclick when the middle of the screens pixel (pixel 800x600) turns red (on a 1600x1200 res) Heres what i got in my screen recorder progee: >>>>>>>>>>>> Window Details <<<<<<<<<<<<< Title: WindowTitle Class: RealSpace2 Size: X: 0 Y: 0 W: 1600 H: 1200 >>>>>>>>>>> Mouse Details <<<<<<<<<<< Screen: X: 800 Y: 600 Cursor ID: 2 >>>>>>>>>>> Pixel Color Under Mouse <<<<<<<<<<< RGB: Hex: 0xFF0000 Dec: 16711680 Can anyone help me on this? Link to comment Share on other sites More sharing options...
ezzetabi Posted June 22, 2005 Share Posted June 22, 2005 Uh?While 1 $iColor = PixelGetColor(800, 600) If $iColor = 0xff0000 Then MouseClick('left') Sleep(100) WEndRTFM!(Read the FINE manual) Link to comment Share on other sites More sharing options...
Guest teh_hackerer Posted June 23, 2005 Share Posted June 23, 2005 Thank you, it will help very much. ^^ Sorry about not reading the fine manual, but I can't seem to find it. 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