sliwek Posted December 20, 2011 Posted December 20, 2011 hi i trying to find constant PixelChecksum (area 18x18) at 1600x900 resolution first i trying to find 1 pixel from pixelChecksum and then check my checksum. So its look like ... $area = 321839012 ;(my PixelChecksum 18x18) $test = PixelSearch(1, 1, 1600,900, '1513605') If not $error then If $found = PixelChecksum($test[0], $test[1], $test[0]+17, $test[1]+17) Then MsgBox(0,"info1", "got it!!") EndIf EndIf and what is a problem? this pixel color can be found more then ones, but my pixelcecksum can be just one. how to make loop to find exact pixel with my pixelchecksum? I fighting with this from few hour...
Moderators Melba23 Posted December 20, 2011 Moderators Posted December 20, 2011 John404,But we give the OP the benefit of the doubt unless it becomes clear that this is the case. While we are grateful that you all try to keep this forum the kind of place we want it to be, please do not be too aggressive, particularly to new members. If there is some doubt as to the legality of a post (and there is nothing in this thread at present that breaks any of the rules as far as I can see) then report the thread so that a Mod can take a look - that is why we are here. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
sliwek Posted December 20, 2011 Author Posted December 20, 2011 (edited) not an aimbot. its just search a button 18x18 to click it. ehh im so stupid... i thought pixelsearch to search go Left-to-Right, Right-to-Left, Top-to-Bottom, Bottom-to-Top (4 lines) in one time didnt think about its depend of write in walue. im just a hobbi AutoIt programer from a 2 years. can close this topic btw Melba23 i used ur toast.. Edited December 20, 2011 by sliwek
Moderators Melba23 Posted December 20, 2011 Moderators Posted December 20, 2011 sliwek,Welcome to the AutoIt forum. There are lots of ways to click a button - why are you looking for it in such a strange way? Does the Window Info tool not give you any identification parameters for the button? Also search the forum for "+image +search" - there are lots of threads dealing with finding images within other images. M23P.S. Glad you liked Toast - look out for new version coming out soon. Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
sliwek Posted December 21, 2011 Author Posted December 21, 2011 (edited) There are lots of ways to click a button - why are you looking for it in such a strange way? Does the Window Info tool not give you any identification parameters for the button? No its a button in movable panel in program.I did it but without PixelCheckSum -its buged for me. I sum all pixels in loop... take little time but i need it just ones at during my program. Edited December 21, 2011 by sliwek
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