Sign in to follow this  
Followers 0
shfgat

pixel checksum for images

8 posts in this topic

hi ,

am looking for example how to make script to search screen for some captured pixel checksum and then click on it when it found it ?

can you help me on this please cant find any info about it

Share this post


Link to post
Share on other sites



shfgat,

Welcome to the AutoIt forum. :graduated:

cant find any info about it

I am very surprised by that as this is a frequent request. ;)

Perhaps this thread might be of use. :)

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

hi thx for answer .

but i already know this function imagesearch but i want to search for pixel checksum not picture saved ...

Share this post


Link to post
Share on other sites

shfgat,

To do that you would logically need to take the pixelchecksum of every suitably sized portion of the screen to compare - that is an awful lot of computation. If you were looking for a 100x100 image on a 1280x800 screen, you would need 1180x700 - yes that is 826000 - checksums to cover the whole screen. :graduated:

Doing it that way would - in my opinion - take a ridiculously long time in AutoIt. Why are you so set on the checksum route? ;)

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

i just testing something and i stoped there . i got checksum for small pictures and i want function to search for it . its decimal number 10 digits . so how can i find this in screen?

if you can show me example

Share this post


Link to post
Share on other sites

You can make screenshot and loop which checks pixel colors from data array.


Sorry for my bad English but nobody is perfect. [font=arial, helvetica, sans-serif]Ramzes[/font]

Share this post


Link to post
Share on other sites

can you show me how to convert screenshot to data array please if you can show me example will be great . thanks

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0