Difference between revisions of "Action: Authenticate User"

(First edition of this page)
 
Line 9: Line 9:
 
''''' Requires Root or [https://www.macrodroidforum.com/index.php?threads/adb-hack-granting-extra-capabilities-via-the-adb-tool.48/ ADB hack] '''''
 
''''' Requires Root or [https://www.macrodroidforum.com/index.php?threads/adb-hack-granting-extra-capabilities-via-the-adb-tool.48/ ADB hack] '''''
  
==<p><b>Example</b></p>==
+
== About ==
  
''''' When trying to access the notes application, it will require user authentication, if approved it will open the app, otherwise it will return to the home screen '''''
+
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
<br>
+
This action is used to set a toggleable quick setting tile to the on/off state. It can also be used to update the icon and label of the quick settings tile.
 +
</pre><br/>
  
<pre style="background-color: #AC2424; color: white; border-radius: 10px; padding: 10px;">
+
==<p><b>Configuration available</b></p>==
Triggers
 
  
Application Launched | Notes
+
''  Select a quick tile from the list (If you don't have any enabled, at the bottom there is a shortcut 'Configure quick settings tiles') on that screen you can configure / add the quick tile and add it to the notification bar, later you can return to the action to configure the quick tile in other situations. ''
</pre><br>
 
  
<pre style="background-color: #1665B0; color: white; border-radius: 10px; padding: 10px;">
+
=== Set toggle state  ===
Actions
 
  
Launch Home Screen
+
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
Authenticate User
+
Switches the status of the quick tile between On and Off.
</pre>
+
</pre><br/>
 
 
<pre style="background-color: #45289F; color: white; border-radius: 10px; padding: 10px;">
 
If | CheckAuth = True
 
</pre>
 
  
<pre style="background-color: #1665B0; color: white; border-radius: 10px; padding: 10px;">
+
=== Set title ===
Actions
 
  
Launch Notes
+
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 +
Change the title that appears in the quick tile.
 +
Supports use of magic text
 
</pre>
 
</pre>
 +
* ''''' [https://macrodroidforum.com/wiki/index.php/Magic_text Magic Text] '''''
 +
<br/>
  
<pre style="background-color: #45289F; color: white; border-radius: 10px; padding: 10px;">
+
===  Set subtitle ===
Else
 
</pre>
 
  
<pre style="background-color: #1665B0; color: white; border-radius: 10px; padding: 10px;">
+
''Please be aware that not all device manufacturers support subtitles on their quick settings tiles.''
Actions
+
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
+
Select the directory where you want to create the new folder.
Launch Home Screen
+
Then choose a name for the folder or use magic text.
Popup message | Incorrect password
 
 
</pre>
 
</pre>
 +
* ''''' [https://macrodroidforum.com/wiki/index.php/Magic_text Magic Text] '''''
 +
<br/>
  
<pre style="background-color: #45289F; color: white; border-radius: 10px; padding: 10px;">
+
=== Set icon ===
End If
 
</pre><br>
 
 
 
<pre style="background-color: #387F3D; color: white; border-radius: 10px; padding: 10px;">
 
Constraints
 
 
 
</pre><br>
 
<pre style="background-color: teal; color: white; border-radius: 10px; padding: 10px;">
 
Local variables
 
  
CheckAuth = True
+
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
</pre><br>
+
Change the current icon to one of the other icons included with macrodroid.
 +
</pre><br/>

Revision as of 20:22, 11 January 2024

About

This action can be used to request that the user authenticates their identity.

This action will set a boolean variable to indicate success/failure and subsequent actions will be blocked until authentication completes.

Requires Root or ADB hack

About

This action is used to set a toggleable quick setting tile to the on/off state. It can also be used to update the icon and label of the quick settings tile.


Configuration available

Select a quick tile from the list (If you don't have any enabled, at the bottom there is a shortcut 'Configure quick settings tiles') on that screen you can configure / add the quick tile and add it to the notification bar, later you can return to the action to configure the quick tile in other situations.

Set toggle state

Switches the status of the quick tile between On and Off.


Set title

Change the title that appears in the quick tile.
Supports use of magic text


Set subtitle

Please be aware that not all device manufacturers support subtitles on their quick settings tiles.

Select the directory where you want to create the new folder.
Then choose a name for the folder or use magic text.


Set icon

Change the current icon to one of the other icons included with macrodroid.