Difference between revisions of "Trigger: Application Launched/Closed"

m
m (Slight UI changes to improve the interface)
Line 1: Line 1:
<pre style="background-color: #EEEEEE; color: Black; border-radius: 10px; padding: 10px;">
+
<p><b>This trigger fires when an application is launched or closed.</b></p>
This trigger fires when an application is launched or closed.
 
  
 +
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
There are also two methods, due to recent changes to Android, there is a faster method with the use of accessibility services, however it is still possible to avoid accessibility services by ticking the box 'force legacy system'
 
There are also two methods, due to recent changes to Android, there is a faster method with the use of accessibility services, however it is still possible to avoid accessibility services by ticking the box 'force legacy system'
 
 
Accessibility can be granted by following the steps in the popup or by pressing the notification that appears from MacroDroid.
 
Accessibility can be granted by following the steps in the popup or by pressing the notification that appears from MacroDroid.
 
 
Any other issues, please consult the Troubleshooting section under the left hamburger menu from the MacroDroid home screen.
 
Any other issues, please consult the Troubleshooting section under the left hamburger menu from the MacroDroid home screen.
 
</pre><br>
 
</pre><br>
<pre style="background-color: #EEEEEE; color: Black; border-radius: 10px; padding: 10px;">
 
Supported configurations:
 
  
 +
<p><b>Supported configurations:</b></p>
 +
 +
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
Force legacy mechanism:
 
Force legacy mechanism:
 
Try this option if you have issues with the new application launched trigger implementation, or don't want to enable Accessibility access for MacroDroid.
 
Try this option if you have issues with the new application launched trigger implementation, or don't want to enable Accessibility access for MacroDroid.
  
 
Prevent notifications interfering:
 
Prevent notifications interfering:
Swiping down the status bar may interfere with this trigger. This option prevents this interference but may cause issues with the trigger on some devices.</pre>
+
Swiping down the status bar may interfere with this trigger. This option prevents this interference but may cause issues with the trigger on some devices.
<br>
+
</pre><br>
'''Example Usage:'''<br/>
+
 
 +
<p><b>Example Usage:</b></p>
 +
 
 +
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
When starting YouTube the screen rotation will be activated
 
When starting YouTube the screen rotation will be activated
 +
</pre><br>
 +
 
<pre style="background-color: #AC2424; color: white; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #AC2424; color: white; border-radius: 10px; padding: 10px;">
 
Triggers
 
Triggers
Line 34: Line 38:
  
 
</pre>
 
</pre>
<br>
+
 
'''Example Usage:'''<br/>
+
<p><b>Example Usage:</b></p>
 +
 
 +
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
When closing YouTube the screen rotation will be deactivate
 
When closing YouTube the screen rotation will be deactivate
 +
</pre><br>
 +
 
<pre style="background-color: #AC2424; color: white; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #AC2424; color: white; border-radius: 10px; padding: 10px;">
 
Triggers
 
Triggers
Line 51: Line 59:
  
  
</pre><br>
+
</pre>

Revision as of 17:45, 5 December 2023

This trigger fires when an application is launched or closed.

There are also two methods, due to recent changes to Android, there is a faster method with the use of accessibility services, however it is still possible to avoid accessibility services by ticking the box 'force legacy system'
Accessibility can be granted by following the steps in the popup or by pressing the notification that appears from MacroDroid.
Any other issues, please consult the Troubleshooting section under the left hamburger menu from the MacroDroid home screen.


Supported configurations:

Force legacy mechanism:
Try this option if you have issues with the new application launched trigger implementation, or don't want to enable Accessibility access for MacroDroid.

Prevent notifications interfering:
Swiping down the status bar may interfere with this trigger. This option prevents this interference but may cause issues with the trigger on some devices.


Example Usage:

When starting YouTube the screen rotation will be activated


Triggers

Application launched (YouTube)


Actions

Enable screen rotation.


Constraints


Example Usage:

When closing YouTube the screen rotation will be deactivate


Triggers

Application closed(YouTube)


Actions

Disable screen rotation.


Constraints