kevinfar

autoit to recognize location of image of screen?

5 posts in this topic

#1 ·  Posted

If I have an icon, as the one attached to this post, is there a way for autoit to compare this image with what is on screen and recognize its position on said screen?

Thanks

Screenshot 2017-04-08 18.29.31.png

Share this post


Link to post
Share on other sites



#2 ·  Posted

is there any reason to try to hook into the control and not look for an image? Image searching is the WORST way to automate. Whats the name of the application you wish to automate? There may be a coded solution already and no need to recreate the wheel.

Share this post


Link to post
Share on other sites

#3 ·  Posted

@Bert Not sure what you mean with this:

 

5 hours ago, Bert said:

is there any reason to try to hook into the control and not look for an image? 

I am trying to look for the image on screen.

 

The application is a chrome plugin which allows the user to download youtube videos directly from the youtube play page.

 

Thanks

Share this post


Link to post
Share on other sites

#4 ·  Posted

ummm...that "may" be a problem. If I remember right the mods do not allow for such a thing to be discussed here. It has to do with licensing by google and such. Let us check with a mod and get their opinion. I know of a good solution for you but I want to make sure I'm in bounds.

Share this post


Link to post
Share on other sites

#5 ·  Posted

kevinfar,

Bert is quite right - we do not permit discussion of AutoIt interaction with YouTube downloads. Thread closed.

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
Guest
This topic is now closed to further replies.