AutoInput Accessing tile array in systemui

Discussion in 'AutoApps' started by robm, Mar 20, 2017.

  1. robm

    robm New Member

    Joined:
    Mar 20, 2017
    Messages:
    1
    Likes Received:
    0
    Hi all,
    Awhile back I wrote tasker routine to toggle my mobile data using the autoinput click action and the text property to find the correct button (the carrier's name). When I went overseas last week the routine failed because the carrier's name changed and I'm trying to make the routine more robust by using the button's ID instead of its text.
    After considerable fiddling, I believe ive worked out that the button is nested on a tile pane, and I'm not sure how to format the ID to access elements located in a tile. The ID that I got by querying the com.android.systemui (quick settings) is:

    com.android.systemui:id/tile_label,index:28

    Note, I think the comma is what is stuffing me up as I think that is the index of the element nested in the tile.
    Cheers,
    Rob
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    So just to clarify, using that ID is not working correctly?
     
: Systemui, Click

Share This Page