Difference between revisions of "Action: Set Digital Assistant"

(Created page with "== About == <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> This action allows you to set the device's current default digital as...")
 
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
 
This action allows you to set the device's current default digital assistant.
 
This action allows you to set the device's current default digital assistant.
 
This will (for example) allow you to switch dynamically between the Google default assistant and some other app when required.
 
This will (for example) allow you to switch dynamically between the Google default assistant and some other app when required.
 
 
</pre>
 
</pre>
''''' Note: '''''
+
<pre style="background-color: #FFFF99; color: #112A46; border-radius: 10px; padding: 10px;">
that the currently selected default digital assistant may not update correctly in the settings on some devices (but this should not effect the functionality).
+
That the currently selected default digital assistant may not update correctly in the settings on some devices (but this should not effect the functionality)_
<br/>
+
</pre>
  
 
==<p><b>Configuration available</b></p>==
 
==<p><b>Configuration available</b></p>==
Line 23: Line 22:
 
You can define between any other application that has compatibility as assistance for example (MacroDroid, Google, Alexa etc).
 
You can define between any other application that has compatibility as assistance for example (MacroDroid, Google, Alexa etc).
 
</pre><br/>
 
</pre><br/>
 
==<p><b>Example</b></p>==
 
 
''''' With a widget button switch between Google support and MacroDroid. '''
 
<br>
 
 
<pre style="background-color: #AC2424; color: white; border-radius: 10px; padding: 10px;">
 
Triggers
 
 
Widget Button (Green)
 
</pre><br>
 
 
<pre style="background-color: #1665B0; color: white; border-radius: 10px; padding: 10px;">
 
Actions
 
 
Set Variable
 
assistant: (Invert)
 
</pre>
 
 
<pre style="background-color: #45289F; color: white; border-radius: 10px; padding: 10px;">
 
If
 
assistant = True
 
</pre>
 
 
<pre style="background-color: #1665B0; color: white; border-radius: 10px; padding: 10px;">
 
Actions
 
 
Set Digital Assistant
 
Google
 
</pre>
 
 
<pre style="background-color: #45289F; color: white; border-radius: 10px; padding: 10px;">
 
Else
 
</pre><br>
 
 
<pre style="background-color: #1665B0; color: white; border-radius: 10px; padding: 10px;">
 
Actions
 
 
Set Digital Assistant
 
Macrodroid
 
</pre>
 
 
<pre style="background-color: #45289F; color: white; border-radius: 10px; padding: 10px;">
 
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
 
 
assistant = False
 
</pre><br>
 

Latest revision as of 19:17, 7 February 2024

About

This action allows you to set the device's current default digital assistant.
This will (for example) allow you to switch dynamically between the Google default assistant and some other app when required.
That the currently selected default digital assistant may not update correctly in the settings on some devices (but this should not effect the functionality)_

Configuration available

None

No default assistant, this will make for example that "OK google" or any other feature of another digital assistant does not work.


Others

You can define between any other application that has compatibility as assistance for example (MacroDroid, Google, Alexa etc).