Xav Posted January 4, 2008 Share Posted January 4, 2008 Look on this i tryed all:: $Coord = PixelSearch( 123, 450, 450, 123, 15049312 ) If IsArray($Coord) Then MouseClick("Left",$Coord[0], $Coord[1],1,0) $Coord = PixelSearch( 123, 450, 450, 123, 15049312 ) PixelSearch( 123, 450, 450, 123, 15049312 ) The 3 didnt work and dont work with 0x.... Can like another function do the same thing but with no rectangle ???? it will be the best i think if it exist :S Thanks!"!"!"!"!"! Link to comment Share on other sites More sharing options...
covaks Posted January 4, 2008 Share Posted January 4, 2008 There is nothing wrong with the commands you posted. You may not be searching the proper coordinates. Look up the opt command in the help files, and look up PixelCoordMode and MouseCoordMode. #include <GuiConstants.au3> opt("PixelCoordMode",2) opt("MouseCoordMode",2) GUICreate("test") $label = GUICtrlCreateLabel("",50,50) GUICtrlSetBkColor($label,15049312) GUISetState() Sleep(3000) $Coord = PixelSearch( 40,40,60,60, 15049312 ) If IsArray($Coord) Then MouseClick("Left",$Coord[0], $Coord[1],1,0) While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoop WEnd Link to comment Share on other sites More sharing options...
Jex Posted January 4, 2008 Share Posted January 4, 2008 Can like another function do the same thing but with no rectangle ????it will be the best i think if it exist :SI think you are searching PixelGetColor($x, $y) ? My scripts : Immediate Window , My Web Browser , Travian , Text Effect , Characters & Words per minute or second , Image Editor (ImageMagick) , Matrix style background effect ( Screensaver ) , Mail Sender , Protectlinks decoder and Rapidshare links checker , Fonts Fetcher , Region determine , Compare pictures , Gradient color box , Mouse Coordinates, Colors, Pixel Search things , Encrypt/Decrypt and embeding file in jpeg thing , Hard disk space monitor , Reflex game , Multiplayer Tic Tac Toe , WLM ( MSN ) personal message changer Link to comment Share on other sites More sharing options...
Xav Posted January 4, 2008 Author Share Posted January 4, 2008 I think you are searching PixelGetColor($x, $y) ?i wont get the color xD i want to CLICK on the color Link to comment Share on other sites More sharing options...
covaks Posted January 4, 2008 Share Posted January 4, 2008 I replied to your PM. But I don't know if it got sent, it didn't appear in my sent items folder. *shrug* Here is what I wrote: Hi :-) So this is your code right? $Coord = PixelSearch( 123, 450, 450, 123, 15049312 ) If IsArray($Coord) Then MouseClick("Left",$Coord[0], $Coord[1],1,0)oÝ÷ Ø-êbÅér¢ìÛhrXïÈì!z|¨º»§¶¬r¸©´ø±zTj·!Â)e_wmêbÅéh*.׬Ú)ø˧uêçy«a¢Ø^®è¶¦±.ë-~*ì¶h§h³{*.®è¶¦±èºÚ"µÍÚ[Z[[Z^P[ BÛY L BÌÍÐÛÛÜH^[ÙXÚ LË L LLËML LÌL BYÐ^J ÌÍÐÛÛÜ H[[ÝÙPÛXÚÊ ][ÝÓY ][ÝË ÌÍÐÛÛÜÌK ÌÍÐÛÛÜÌWKK If that does not find the pixel you want on your desktop. Then either your coordinates are wrong, or your color is wrong. This should move to the pixel and click once. Keep in mind, you probably need to double click if you are trying to get it to launch some shortcut on your desktop. Also, there are easier ways to start programs on your desktop. Link to comment Share on other sites More sharing options...
Xav Posted January 4, 2008 Author Share Posted January 4, 2008 i dont know why but nothing work atmoment about this i tryed all with each differecnt screens ... Link to comment Share on other sites More sharing options...
aNewLyfe Posted January 5, 2008 Share Posted January 5, 2008 just an idea, maybe a cheat blocker, like gameguard or xtrap running around ? ~ Every Living Thing is a Code Snippet of World Application ~ Link to comment Share on other sites More sharing options...
Xav Posted January 5, 2008 Author Share Posted January 5, 2008 just an idea, maybe a cheat blocker, like gameguard or xtrap running around ?Yeah i think but , i tryed on my destop and didnt work too... 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