FIND (CTRL+F) Action background
Moderators: JRL, Dorian (MJT support)
FIND (CTRL+F) Action background
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.
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Re: FIND (CTRL+F) Action background
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.
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?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?