Difference between revisions of "Trigger: Home Button Long Press"
| Line 1: | Line 1: | ||
| − | <pre class="header-style"> | + | <pre class="header-style">The Home Button Long Press trigger fires when you perform a long press on the device's home button. This trigger requires MacroDroid to be set as the default voice input and assistance application.</pre> |
| − | |||
| − | + | ''' Options ''' | |
| − | |||
| − | + | This trigger has no configurable options. Once added, it will fire whenever a long press is detected on the home button (typically around 1.5 seconds). | |
| − | |||
| − | |||
| − | |||
| − | + | ''' Requirements ''' | |
| − | |||
| − | |||
| − | |||
| − | Take screenshot | + | * MacroDroid must be configured as the default assist and voice input app |
| − | </pre>< | + | * Requires Android 6.0 (API 23) or higher |
| + | * The default assist app setting can be found in: Settings > Apps > Default Apps > Digital assistant app (location may vary by device) | ||
| + | |||
| + | ''' Examples ''' | ||
| + | |||
| + | ''Example 1: Quick Screenshot'' | ||
| + | <pre class="trigger-style">Triggers | ||
| + | |||
| + | Home Button Long Press</pre> | ||
| + | <pre class="action-style">Actions | ||
| + | |||
| + | Take Screenshot</pre> | ||
| + | |||
| + | Takes a screenshot when the home button is held for approximately 1.5 seconds. | ||
| + | |||
| + | ''Example 2: Launch Voice Command'' | ||
| + | <pre class="trigger-style">Triggers | ||
| + | |||
| + | Home Button Long Press</pre> | ||
| + | <pre class="action-style">Actions | ||
| + | |||
| + | Speak Text - What would you like me to do? | ||
| + | Voice Input</pre> | ||
| + | |||
| + | Launches MacroDroid's voice input feature when long pressing the home button. | ||
| + | |||
| + | ''' Notes ''' | ||
| + | |||
| + | * This trigger requires MacroDroid to replace your default assistant app (like Google Assistant). | ||
| + | * On some devices, this trigger may also fire when long pressing the power button. | ||
| + | * If the trigger shows a warning that it's not configured properly, tap the warning to open the settings to set MacroDroid as the default assistant. | ||
| + | * Setting MacroDroid as the default assistant will prevent the original assistant (e.g., Google Assistant) from launching on long press. | ||
| + | * The trigger will show an edit mode warning if MacroDroid is not set as the default assistant. | ||
| + | |||
| + | ''' See Also ''' | ||
| + | |||
| + | * [[Action:_Voice_Input|Voice Input Action]] | ||
| + | * [[Trigger:_Device_Button|Device Button Trigger]] | ||
Revision as of 23:07, 5 January 2026
The Home Button Long Press trigger fires when you perform a long press on the device's home button. This trigger requires MacroDroid to be set as the default voice input and assistance application.
Options
This trigger has no configurable options. Once added, it will fire whenever a long press is detected on the home button (typically around 1.5 seconds).
Requirements
- MacroDroid must be configured as the default assist and voice input app
- Requires Android 6.0 (API 23) or higher
- The default assist app setting can be found in: Settings > Apps > Default Apps > Digital assistant app (location may vary by device)
Examples
Example 1: Quick Screenshot
Triggers Home Button Long Press
Actions Take Screenshot
Takes a screenshot when the home button is held for approximately 1.5 seconds.
Example 2: Launch Voice Command
Triggers Home Button Long Press
Actions Speak Text - What would you like me to do? Voice Input
Launches MacroDroid's voice input feature when long pressing the home button.
Notes
- This trigger requires MacroDroid to replace your default assistant app (like Google Assistant).
- On some devices, this trigger may also fire when long pressing the power button.
- If the trigger shows a warning that it's not configured properly, tap the warning to open the settings to set MacroDroid as the default assistant.
- Setting MacroDroid as the default assistant will prevent the original assistant (e.g., Google Assistant) from launching on long press.
- The trigger will show an edit mode warning if MacroDroid is not set as the default assistant.
See Also