piccaso Posted September 2, 2006 Share Posted September 2, 2006 I did a little tool to help with PixelSearch() It allows you to select colors from screen, Adjust "shade" parameter, select the search region from screen, mark the found colors for testing, resume and suspend processes (nt/2k/xp only) and has a little flexible aimbot inside. not very fast but nice for testing and having a little fun with flash games. it also generates code with the parameter used but this code is not fully functional. i hope its self explaining... just one tip: if your mouse is caught somewere press Ctrl+S to turn off SearchingPixelFind.zip CoProc Multi Process Helper libraryTrashBin.nfshost.com store your AutoIt related files here!AutoIt User Map Link to comment Share on other sites More sharing options...
Azu Posted September 2, 2006 Share Posted September 2, 2006 (edited) I did a little tool to help with PixelSearch()It allows you to select colors from screen, Adjust "shade" parameter, select the search region from screen,mark the found colors for testing, resume and suspend processes (nt/2k/xp only) and has a little flexible aimbot inside.not very fast but nice for testing and having a little fun with flash games.it also generates code with the parameter used but this code is not fully functional.i hope its self explaining...just one tip: if your mouse is caught somewere press Ctrl+S to turn off SearchingWow cool! Gonna go take a look at it now.. sounds pretty useful.Thanks for releasing Edited September 2, 2006 by Azu Link to comment Share on other sites More sharing options...
onedayillpay Posted December 4, 2006 Share Posted December 4, 2006 hi i need a program that just displays the pixel color under mouse but only the hex code the autoit3Info tool does this but all i need to be diplays and paused is the hex code for this other program im working on...i need this im not even sure how you would go about doind this i ave messd around with your program but im not sure if it returns the hex "0x0000FF" ;blue for example Link to comment Share on other sites More sharing options...
piccaso Posted December 4, 2006 Author Share Posted December 4, 2006 Autoit Window Info has a pause hotkey Press CTRL-ALT-F to freeze the display. CoProc Multi Process Helper libraryTrashBin.nfshost.com store your AutoIt related files here!AutoIt User Map Link to comment Share on other sites More sharing options...
onedayillpay Posted December 5, 2006 Share Posted December 5, 2006 (edited) Autoit Window Info has a pause hotkey Press CTRL-ALT-F to freeze the display.yes...how can i duplicate that program all i need to be displayd is the hex code.."0x0000FF" Edited December 5, 2006 by onedayillpay Link to comment Share on other sites More sharing options...
piccaso Posted December 5, 2006 Author Share Posted December 5, 2006 Well if you want to rewite it you should have a look into the helpfile. There is command that reads out pixel colors. and there is a way to get the mouse position. MouseGetPos or so and i dont rememer the other one. you should ask in the support forum if you dont find them yourself CoProc Multi Process Helper libraryTrashBin.nfshost.com store your AutoIt related files here!AutoIt User Map Link to comment Share on other sites More sharing options...
Yho2005 Posted January 12, 2007 Share Posted January 12, 2007 (edited) expandcollapse popupGlobal $Paused, $pos, $mclr Opt("TrayIconHide", 1) HotKeySet("^1", "Log1") ;Press Ctrl-1 to log into Grid.ini the mouse coordinates HotKeySet("^2", "Log2") ;Press Ctrl-2...Ctrl-5 to log into Grid.ini the mouse coordinates HotKeySet("^3}", "Log3") HotKeySet("^4}", "Log4") HotKeySet("^5", "Log5") HotKeySet("{ESCAPE}", "TogglePause") ;Press Escape to pause the script HotKeySet("^{SPACE}", "Terminate") ;Press Ctrl-Spacebar to quit While 1 $pos = MouseGetPos() $mclr = Pixelgetcolor($pos[0],$pos[1]) ToolTip("Mouse (x,y): "&"("&$pos[0]&","&$pos[1]&") Colour: "&Hex($mclr, 6),0,724) WEnd ;;;;;;;; Func Log1() IniWrite(@DesktopDir&"\grid.ini","Log1","x:",$pos[0] ) IniWrite(@DesktopDir&"\grid.ini","Log1","y:",$pos[1]) IniWrite(@DesktopDir&"\grid.ini","Log1","Colour: ",Hex($mclr,6)) EndFunc Func Log2() IniWrite(@DesktopDir&"\grid.ini","Log2","x: ",$pos[0]) IniWrite(@DesktopDir&"\grid.ini","Log2","y: ",$pos[1]) IniWrite(@DesktopDir&"\grid.ini","Log2","Colour: ",Hex($mclr,6)) EndFunc Func Log3() IniWrite(@DesktopDir&"\grid.ini","Log3","x: ",$pos[0]) IniWrite(@DesktopDir&"\grid.ini","Log3","y: ",$pos[1]) IniWrite(@DesktopDir&"\grid.ini","Log3","Colour: ",Hex($mclr,6)) EndFunc Func Log4() IniWrite(@DesktopDir&"\grid.ini","Log4","x: ",$pos[0]) IniWrite(@DesktopDir&"\grid.ini","Log4","y: ",$pos[1]) IniWrite(@DesktopDir&"\grid.ini","Log4","Colour: ",Hex($mclr,6)) EndFunc Func Log5() IniWrite(@DesktopDir&"\grid.ini","Log5","x: ",$pos[0]) IniWrite(@DesktopDir&"\grid.ini","Log5","y: ",$pos[1]) IniWrite(@DesktopDir&"\grid.ini","Log5","Colour: ",Hex($mclr,6)) EndFunc Func TogglePause() $Paused = NOT $Paused While $Paused sleep(100) ; ToolTip('Script is "Paused"',0,0) WEnd ; ToolTip("") EndFunc Func Terminate() Exit 0 EndFunc This is what I made and use. The Ctrl Alt F "shortcut" key is problematic at times esp when you're working from a printscreen and you're using irfanview to get coordinates. Sooooooo this script pauses and gives you the coordinates and colours (in hex). I also added a nice feature that allows you to log down into grid.ini (will be created by default) 5 mouse positions and the colour underneath the mouse which I've found to be immensely helpful. Edited January 12, 2007 by Yho2005 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