Thank you Martin.
"Maybe Samsung classified the text as "Secure" which means that another application like Automagic can not detect the text at all."
I could never understand why. Now I do.
Many thanks
Micky
text matching is not triggered
Moderator: Martin
-
- Posts: 179
- Joined: 16 Oct 2019 17:38
Re: text matching is not triggered
Crude but it works.
Re: text matching is not triggered
Some more info for this. I made another flow to run when Android opens a window that an app isn't responding, to automatically click "Send feedback" then "SEND" and that works perfectly. So for that one, the "contains text" works as expected, and it works as "window opened" and not "window open," unlike in the flow to overwrite on import, where the text doesn't work right and it seems to trigger when a window is open at all, not just when it opens ("window opened" vs "window open"). So the trigger seems inconsistent, and the text issue does as well, with it only seeing a word or two of text from some windows (and seemingly the title text) and all the text in others (where it sees the actual text, not the title.
Re: text matching is not triggered
I see some inconsistency in some app. Example, I am using Grab, for Grab Food. getTextInActiveWindow() can retrieve all the text, the food cost, delivery fee, but not the promo code or the calculation for the promo discount. Using CUI info, also can't select that particular element text. So there are some element ID seems to be protected or hidden from accessibility.
I suspect that Automagic import flow dialog also be the same, it is hidden from the windows opened. Maybe Martin need to make it as an event or maybe allow accessibility for that dialog. But for other app, I don't know how to get the text (in my example, the Promo code). I am still trying.
I suspect that Automagic import flow dialog also be the same, it is hidden from the windows opened. Maybe Martin need to make it as an event or maybe allow accessibility for that dialog. But for other app, I don't know how to get the text (in my example, the Promo code). I am still trying.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.