foreground app name / Vordergrundapp identifizieren

holgersch

New member
Hallo,

ich möchte mittels Variablen [fg_app_name] oder [fg_app_package] den Namen des aktuellen Vordergrundprogramms erfassen... allerdings erhalte ich immer bei [fg_app_name] den Wert "Einstellungen", egal was gerade aktiv ist...

Kann jemand helfen?

Holger
 

Dm114

Well-known member
Hallo,

ich möchte mittels Variablen [fg_app_name] oder [fg_app_package] den Namen des aktuellen Vordergrundprogramms erfassen... allerdings erhalte ich immer bei [fg_app_name] den Wert "Einstellungen", egal was gerade aktiv ist...

Kann jemand helfen?

Holger
If you want some help, you'd better write in english. Thanks!
 

holgersch

New member
Hello,

I would like to record the name of the current foreground program using variables [fg_app_name] or [fg_app_package] ... but I always get the value "Settings" for [fg_app_name], regardless of what is currently active ...

Can someone help?

Holger
 

Dm114

Well-known member
Hello,

I would like to record the name of the current foreground program using variables [fg_app_name] or [fg_app_package] ... but I always get the value "Settings" for [fg_app_name], regardless of what is currently active ...

Can someone help?

Holger
To get the the foreground app/package name, it must be running foreground. Try this kind of macro test below to check what you get...
 

Attachments

  • 20210418_062114.jpg
    20210418_062114.jpg
    55.2 KB · Views: 17

holgersch

New member
Habe den Fehler gefunden: Die App EZ-Tools auf meine ACER Tablet hat die Berechtigungen von Macrodroid behindert, nach Deaktivierung bzw. Deinstalation klappt es nun.

Found the bug: The EZ-Tools app on my ACER tablet blocked the Macrodroid authorizations, after deactivation or deinstallation it works now.
 
Top