Difference between revisions of "Actions"
(→List of Actions: Typo. Check Text To Screen --> Check Text On Screen) Tags: Mobile web edit Mobile edit |
(→List of Actions: Added Overlay Bar page) Tags: Mobile web edit Mobile edit |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 120: | Line 120: | ||
[[Action: Display Bubble Notification|Display Bubble Notification]] | [[Action: Display Bubble Notification|Display Bubble Notification]] | ||
+ | |||
+ | [[Action: Display Custom Scene|Display Custom Scene]] | ||
[[Action: Display Dialog|Display Dialog]] | [[Action: Display Dialog|Display Dialog]] | ||
Line 157: | Line 159: | ||
[[Action: Get Light Level|Get Light Level]] | [[Action: Get Light Level|Get Light Level]] | ||
− | [[Action: Get Text From View | + | [[Action: Get Text From View Id|Get Text From View Id]] |
[[Action: GPS Enable/Disable|GPS Enable/Disable]] | [[Action: GPS Enable/Disable|GPS Enable/Disable]] | ||
Line 230: | Line 232: | ||
[[Action: Option Dialog|Option Dialog]] | [[Action: Option Dialog|Option Dialog]] | ||
+ | |||
+ | [[Action: Overlay Bar|Overlay Bar]] | ||
[[Action: Play/Stop Sound|Play/Stop Sound]] | [[Action: Play/Stop Sound|Play/Stop Sound]] | ||
Line 257: | Line 261: | ||
[[Action: Secure Settings|Secure Settings]] | [[Action: Secure Settings|Secure Settings]] | ||
− | [[Action: | + | [[Action: Selection Dialog|Selection Dialog]] |
[[Action: Send Email|Send Email]] | [[Action: Send Email|Send Email]] | ||
Line 312: | Line 316: | ||
[[Action: Take Screenshot|Take Screenshot]] | [[Action: Take Screenshot|Take Screenshot]] | ||
+ | |||
+ | [[Action: Text_from_Image_(OCR)|Text from Image (OCR)]] | ||
[[Action: Text Manipulation|Text Manipulation]] | [[Action: Text Manipulation|Text Manipulation]] |
Latest revision as of 05:48, 29 July 2025
An action is something your device can do when a macro runs. A macro must have at least one action to be valid.
Synchronous vs asynchronous
MacroDroid actions typically execute quickly, but certain actions like HTTP requests or shell scripts may take longer. To ensure that subsequent actions wait for these longer actions to complete before continuing, enable the 'Block next action until complete' option in the action's configuration GUI. Otherwise, the action will run asynchronously while other actions continue. In traditional programming languages, you could pass a callback function to execute after the asynchronous action is complete. This allows you to perform additional actions or work with the data returned by the asynchronous action. However, MacroDroid's inner workings are arbitrary, so there is no systematic option for this. Instead, you must rely on different workarounds.
Control flow
List of Actions
Notification LED Enable/Disable
Priority Mode / Do Not Disturb