FIND (CTRL+F) Action background

Ideas for new features & functions

Moderators: Dorian (MJT support), JRL

Post Reply
macroman
Pro Scripter
Posts: 91
Joined: Mon Jun 02, 2014 5:32 am

FIND (CTRL+F) Action background

Post by macroman » Tue Jan 20, 2015 9:23 pm

Just as simple as it is on anything with Windows, you do CTRL+F to find your characters... Would be great if macro scheduler has a action for this... where it will ctrl+f in the background and return a yes or no if it found the text... This text recognition has to get better than what it is currently... I honestly don't need positions or even anything, I just need a yes or no that it exist on a focused window.... if a window that is focused not able to use CTRL+F, then it's a NO.

User avatar
Marcus Tettmar
Site Admin
Posts: 7380
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: FIND (CTRL+F) Action background

Post by Marcus Tettmar » Wed Jan 21, 2015 9:21 am

Unfortunately, as not all text is detectable and menu items and actions like this use a multitude of different technologies there is no single reliable way of doing this.

For now, if the text is detectable you could use GetTextinRect to get the text within the window's rect and then Position to see if the text you want exists.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts