Jump to content
aa2zz6

Is it possible to hold Pixel Search x and y of a single given pixel point?

Recommended Posts

When I do a PixelSearch and record the x and y values and preform a MouseClick("primary", $pixel[0], $pixel[1], 1, 0) a recorded value sets the cursor in the position but what if I didn't want the pixel to pick the same area again.

 

 

Share this post


Link to post
Share on other sites

Pixels don't pick areas, they just display colours.

Take some time to formulate a decent question with some real world examples.

Edited by JohnOne

Share this post


Link to post
Share on other sites

I work as a computer mapper for a local gas company. I wanted to make a script that could go on our mapping program call Mapinfo Professional and select the different pipe layers and export them as KML files and place them onto the shared drive. This would allow the crews and other various employees to have access to the same files as I do but on Google Earth.

 

Share this post


Link to post
Share on other sites

Mapinfo Professional doesn't seem to offer any kind of API or scripting language integrated in the program. Our company is in the process of Migrating the current mapping system over to an ESRI based product known as Arcmap Desktop that use Python scripting. But we're not fully moving over until next Spring 16'.

Edited by aa2zz6
Spelling error

Share this post


Link to post
Share on other sites

I see.  It would probably be better to work with the controls of the app then to try to decipher images.  See the windows info tool that comes with the AutoIt distribution.


Forum Rules         Procedure for posting code

"I like pigs.  Dogs look up to us.  Cats look down on us.  Pigs treat us as equals."

- Sir Winston Churchill

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

×
×
  • Create New...