Difference between revisions of "Trigger: Call Active"

m
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<pre style="background-color: #EEEEEE; color: Black; border-radius: 10px; padding: 10px;">
+
<pre class="header-style">
This trigger will be fired when a call is actively in progress.</pre>
+
This trigger is activated when a standard phone call is in progress.
<br>
+
</pre>
'''Example Usage'''
 
When there is an active call, turn on the speakerphone.<br/>
 
<pre style="background-color: #AC2424; color: white; border-radius: 10px; padding: 10px;">
 
Triggers
 
  
Active call</pre><br>
+
'''Magic Text'''<br/>
<pre style="background-color: #1665B0; color: white; border-radius: 10px; padding: 10px;">
+
When this trigger is used, you can access magic text via the [...] button where available.<br/>[https://macrodroidforum.com/wiki/index.php/Magic_text#Call_.28Active.2C_Ended.2C_Incoming.2C_Missed.2C_Outgoing.29 magic text]
Actions
 
  
SpeakerPhone On</pre><br>
+
'''Configuration Options'''
<pre style="background-color: green; color: white; border-radius: 10px; padding: 10px;">
 
Constraints
 
  
 +
* Select Contact(s)
  
</pre><br>
+
'''''Any Contact'''''
 +
- A call is active with any number that is in your contacts.
 +
 
 +
'''''Non Contact'''''
 +
- A call is active with any number that is not your contacts.
 +
 
 +
'''''Unknown Caller'''''
 +
- A call is active with an unknown number (e.g. private number).
 +
 
 +
* Select Group(s)
 +
 
 +
You can select to trigger based on a contact group (e.g. Favourites/Friends etc.). The trigger will fire when a call is active with any contact from within the chosen group.
 +
 
 +
* Select Number
 +
 
 +
You can specify a specific number to match against (or partial match). Please note that dialing USSD codes (e.g. **21.... ) on Android 14+ may need to be followed by a UI Interaction action to click the call button.
 +
You may need a Wait action before the click operation to ensure the call screen has finished displaying.
 +
 
 +
* Any Number
 +
 
 +
When selecting this option the trigger will fire when any call is active (regardless of incoming number).

Latest revision as of 09:13, 11 June 2024

This trigger is activated when a standard phone call is in progress.

Magic Text
When this trigger is used, you can access magic text via the [...] button where available.
magic text

Configuration Options

  • Select Contact(s)

Any Contact - A call is active with any number that is in your contacts.

Non Contact - A call is active with any number that is not your contacts.

Unknown Caller - A call is active with an unknown number (e.g. private number).

  • Select Group(s)

You can select to trigger based on a contact group (e.g. Favourites/Friends etc.). The trigger will fire when a call is active with any contact from within the chosen group.

  • Select Number

You can specify a specific number to match against (or partial match). Please note that dialing USSD codes (e.g. **21.... ) on Android 14+ may need to be followed by a UI Interaction action to click the call button. You may need a Wait action before the click operation to ensure the call screen has finished displaying.

  • Any Number

When selecting this option the trigger will fire when any call is active (regardless of incoming number).