App task started- com.android.chrome
Script- text = getTextInActiveWindow()
Notification on screen- {text}
My notification shows me the the http address of the website in chrome.
I notice that the getTextInActiveWindow() works amazing for other apps, but how about chrome? I'm thinking that I'm supposed to use a different action aren't I?
How do get automagic to query all text on a webpage? Currently I use Autoinput UI Query, and it puts all text queried on a webpage into %aitext
I'm trying to get rid of autoinput, any help would be much appreciated! thanks
EAP get all text from window
Moderator: Martin
Re: EAP get all text from window
Hi,
Chrome an other browsers usually provide the visible text as the content description. You can try to use function getContentDescription() to see if this works.
Regards,
Martin
Chrome an other browsers usually provide the visible text as the content description. You can try to use function getContentDescription() to see if this works.
Regards,
Martin