patrickkidd Posted March 23, 2015 Posted March 23, 2015 I am trying to automate an app that uses lots of non-standard gui elements, and so image search is the only way. The only image search functionality I can find for AutoIt is ImageSearchDll.dll but it looks quite old now (2009) and I can't seem to get it to work. There are many old forum posts on it and once you dig to find one of a few different dll downloads, it's still difficult to debug and get working. Is there a better way these days? I'm on a headless (hence the need for automation) Windows 7 system. Thanks so much!
MikahS Posted March 23, 2015 Posted March 23, 2015 I found this one that was updated in 2012. >Link Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4 Feel free to use any of my code for your own use. Forum FAQ
junkew Posted March 23, 2015 Posted March 23, 2015 look for findbmp in examples and I remember some assembler fasm search algorithm (but search seems not to work right now) and iuiautomation / simple spy in examples sometimes helps for hard to get controls FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets
junkew Posted March 23, 2015 Posted March 23, 2015 this was very fast '?do=embed' frameborder='0' data-embedContent>> FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets
Sori Posted March 23, 2015 Posted March 23, 2015 I am trying to automate an app that uses lots of non-standard gui elements, and so image search is the only way. The only image search functionality I can find for AutoIt is ImageSearchDll.dll but it looks quite old now (2009) and I can't seem to get it to work. There are many old forum posts on it and once you dig to find one of a few different dll downloads, it's still difficult to debug and get working. Is there a better way these days? I'm on a headless (hence the need for automation) Windows 7 system. Thanks so much! What issues are you running into? I'm pretty good with imagesearch. If you need help with your stuff, feel free to get me on my Skype. I often get bored and enjoy helping with projects.
computergroove Posted March 23, 2015 Posted March 23, 2015 What issues are you running into? I'm pretty good with imagesearch. I cant get imagesearch to work at all. Take a screenshot of your desktop and crop out a small square of the picture. Open a window (like a browser window) to cover the area of the desktop that was cropped. Have a msgbox appear saying success when I minimize the browser window and the cropped image is visable. Please post the code for this simple example. Get Scite to add a popup when you use a 3rd party UDF -> http://www.autoitscript.com/autoit3/scite/docs/SciTE4AutoIt3/user-calltip-manager.html
Sori Posted March 23, 2015 Posted March 23, 2015 Paste in your imagesearch code If you need help with your stuff, feel free to get me on my Skype. I often get bored and enjoy helping with projects.
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