Is there a way to determine the name of the currently running app?
Thank you.
Determine current app name
Moderator: Martin
Re: Determine current app name
trigger app task started with "*" in app list will fire whenever an arbitrary app is foregrounded. It provides a variable app_name which can be copied to a global variable, thereby making it available to any flow.
Alternatively, use condition app task running, again with "*" as app name, and convert the returned variable package_name to app name with function getAppName.
Second approach should be more economical in terms of power consumption.
Alternatively, use condition app task running, again with "*" as app name, and convert the returned variable package_name to app name with function getAppName.
Second approach should be more economical in terms of power consumption.