aa2zz6 Posted July 23, 2015 Share Posted July 23, 2015 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. Link to comment Share on other sites More sharing options...
JohnOne Posted July 23, 2015 Share Posted July 23, 2015 (edited) Pixels don't pick areas, they just display colours.Take some time to formulate a decent question with some real world examples. Edited July 23, 2015 by JohnOne AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
aa2zz6 Posted July 26, 2015 Author Share Posted July 26, 2015 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. Link to comment Share on other sites More sharing options...
kylomas Posted July 26, 2015 Share Posted July 26, 2015 aa2zz6,Are you sure that "Mapinfo Professional" does not have an interface that you can use? (an api or scripting language)kylomas 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 Link to comment Share on other sites More sharing options...
aa2zz6 Posted July 26, 2015 Author Share Posted July 26, 2015 (edited) 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 July 26, 2015 by aa2zz6 Spelling error Link to comment Share on other sites More sharing options...
kylomas Posted July 26, 2015 Share Posted July 26, 2015 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 Link to comment Share on other sites More sharing options...
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