How to identify which app package

alexhee

Member
Hi, wanna make a screen content click action on text but couldn't identify which app is running, the click action is working if I select ALL, but this is not ideal solution for me if keep detect ALL app on screen for the click action.

Is there any way to drill down to identfiy which app is running for a OPEN WITH dialog? Tried System UI cannot work.
 

alexhee

Member
It's Vivo Funtouch 14, kind of unfriendly even the home launcher cannot be clicked by using text identification.
 

mapriex

Active member
whats with ui interaction with x,y location instead? its stable and independent. the only necessary thing is the timing and the right triggerpoint.
 

alexhee

Member
whats with ui interaction with x,y location instead? its stable and independent. the only necessary thing is the timing and the right triggerpoint.
I think the important key here is the trigger I setup towards a text appears on screen & I unable to track which app is running it. May be my question is confusing, so sorry about that.
 

Sameen333

New member
Hi, wanna make a screen content click action on text but couldn't identify which app is running, the click action is working if I select ALL, but this is not ideal solution for me if keep detect ALL app on screen for the click action.

Is there any way to drill down to identfiy which app is running for a OPEN WITH dialog? Tried System UI cannot work.
There isn't a straightforward way to identify the running app for an "Open With" dialog without selecting all on the screen. System UI may not provide the needed information.
 

MacroDroidDev

Administrator
Staff member
You can identify the foreground app name by using your existing macro to trigger on that text being present and then do something like a popup or log event action with the magic text {fg_app_name}
 

alexhee

Member
You can identify the foreground app name by using your existing macro to trigger on that text being present and then do something like a popup or log event action with the magic text {fg_app_name}
I tried before but didn't work, it shows MS Edge but infact it's not. I added the pop up screenshot for your reference.

{fg_app_name} is MS Edge but selected this app in the screen content trigger won't work. That's why I need to know which app in Android system is handling the Open With.
 

Attachments

  • Screenshot_2024_0206_092305.jpg
    Screenshot_2024_0206_092305.jpg
    54.4 KB · Views: 7
Top