hennes000 0 Posted October 31, 2014 (edited) Hi all. I would like the macro to click on the text 0MEG, been exploring OCR and control click. Wondering if there is a way to get autoit to detect the position of the text and then send a click over. Any help would be much appreciated. thank you. Edited November 2, 2014 by hennes000 Share this post Link to post Share on other sites
junkew 393 Posted October 31, 2014 probably ask the component supplier http://helpcentral.componentone.com/nethelp/vsflexgrid8/#!Documents/vsflexgridproperties.htm or ask the developers of that application to fill properties like accessiblename http://helpcentral.componentone.com/nethelp/vsflexgrid8/#!Documents/accessiblenameproper.htm or check if this iuiautomation helps see faq question 31 http://helpcentral.componentone.com/nethelp/vsflexgrid8/#!Documents/accessiblenameproper.htm FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets Share this post Link to post Share on other sites
hennes000 0 Posted November 2, 2014 Wondering if OCR can be used to detect the letters. Any suggestions on how to implement this? Share this post Link to post Share on other sites
junkew 393 Posted November 2, 2014 Wondering if you tried the other suggestions as given but anyway search for findbmp and ocr in the forum and you will find some hits FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets Share this post Link to post Share on other sites
AutID 10 Posted November 2, 2014 OCR can be used but they are not something you could rely on a script. However you could use an imagesearch if you want which would check for the text and give you its coords. It isn' t something I would do though. Try what juknew proposed you. https://iblockify.wordpress.com/ Share this post Link to post Share on other sites
hennes000 0 Posted November 5, 2014 junkew AutID Thank you both for your suggestions. managed to get imagesearch to do what i want. Share this post Link to post Share on other sites