Jump to content
qbazdz

Search for pixels on screen

Recommended Posts

qbazdz

Hi,

I am quite new to AutoIt but already had some success doing a couple of scripts that automate some of my regular workflows.

There is one particular application which I cannot quite sort out yet, which is to use Autoit to analyse a given screen (can be from a currently made screenshot) and match a location of a set looking pixels (imagine an icon for an app, that changes place on your desktop and Autoit is to find where it is and interact with it).

Any ideas or examples on something similar?

Share this post


Link to post
Share on other sites
Earthshine

I can tell you this, image search is probably the worst way to do this. What is this application you wish to automate?

Edited by Earthshine

My resources are limited. You must ask the right questions

 

Share this post


Link to post
Share on other sites
qbazdz

So I'm looking for specific flags (graphical) which will show up on an image within an app window. Based on their locations I want to read row/column locations of where they appeared.

As this is using Android emulator I have no access to anything via usual commands.

Essentially Im trying to screen scrape the info and log it into a database.

Share this post


Link to post
Share on other sites
Jos

@qbazdz,

Please ensure you have read our forum rules to ensure you comply with them as these type of requests are generally about game automation.

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
qbazdz

Thanks Jos.

Im trying to essentially use AutoIt to generate a copy of a mobile app data which I can't access/pull out otherwise and run some further analysis in Excel.

Data is simply coming in a form of a plot, where I can read/approximate the value for X and Y and once I have it in DB or CSV format I can do all the rest of the magic :)

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

×