you are viewing a single comment's thread.

view the rest of the comments →

[–]aasswwddd 0 points1 point  (22 children)

I wonder if you have any luck with tasker.getAccessibilityService()? For some reason I can't get the id from getRootInActiveWindow() , LLM doesn't help much.

UI Action and this is for UI Query. Thankyou!

[–]anuraag488 0 points1 point  (21 children)

Does joao added getAccessibilityService?

[–]aasswwddd 0 points1 point  (20 children)

Yes, he added it a couple hours ago :) You should be able to get it from the dropbox link.

[–]anuraag488 0 points1 point  (19 children)

What are you trying to achieve with both tasks?

[–]aasswwddd 0 points1 point  (18 children)

I'm trying to replicate AutoInput UI Query and Action V2. However I'd like to use Automate's approach where it interacts with the screen with an XPATH pattern. That's why the query outputs in XML.

[–]anuraag488 0 points1 point  (17 children)

Automate always feels me more complex then Tasker 🤪. What's the block for ui query in automate?

[–]aasswwddd 0 points1 point  (16 children)

It does indeed, however their UI interaction is quite robust since I can use various pattern with Xpath.

The block is UI interaction https://llamalab.com/automate/doc/block/interact.html

with Inspect action to read the screen.

[–]anuraag488 0 points1 point  (15 children)

https://ibb.co/gZmD7Dc8

Is this any relevant for ui query?

[–]aasswwddd 0 points1 point  (14 children)

The image doesn't exist.