TOOLS
Omni Automation Voice Command Constructor • (HOW-TO VIDEO)
This tool can jump-start the creation of Omni Automation voice commands by following these steps.
STEP 1: Create a script:
- Press the “Basic Template” button to replace the contents of the editing field with a basic voice command script template. This template is asynchronous, with an error handler, and spoken responses. IMPORTANT: refreshing this webpage will remove any content in the editing field, so be sure to press the “Copy Content” button while you’re developing your script!
- Replace the SELECTION and PROCESSING sections of the script with your statements. FYI: In addition to the selection code snippets provided at the top right of this page, there are dozens and dozens of example voice command scripts available for OmniFocus and OmniOutliner from which you can extract code snippets regarding selection and processing statements.
- Press the “Test Script” button to test your script using the Omni application whose name is currently displayed in the (green) application popup menu.
STEP 2: Use script with a new Voice Control command (macOS)/shortcut (iOS/iPadOS):
- (macOS) Once the script is working as expected, convert it into a Script URL by pressing the “Encode Script” button. The Script URL is created targeting the Omni application whose name is currently displayed in the (green) application popup menu. Next, copy and paste the encoded Script URL into the “Perform” field of a new Voice Control command created in the Voice Control System Settings pane. (In Settings pane, press “Commands…” button, then the “+” (plus) button, then select “Open URL” from the “Perform” popup menu.)
- (iOS/iPadOS) Since Voice Control on iOS and iPadOS does not offer the “Open URL” Voice Control command action option, your unencoded voice command scripts are placed within the “Omni Automation Script” Shortcuts action corresponding to the targeted Omni application. You can then assign the saved shortcut as the action for a new Voice Control command.
📝 <-- Click to Jump
SCRIPTING API
RELATED LINKS
SELECTION SNIPPETS
Code snippets for checking the selection in an application. (Click a link to copy its code snippet to the clipboard)
OmniFocus:
- Single Task
- Single Project
- Single Project or Task
- Single Folder
- One or More Tasks
- One or More Projects
- One or More Projects or Tasks
- One or More Folders
OmniOutliner:
OmniGraffle:
LEGAL
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Mention of third-party websites and products is for informational purposes only and constitutes neither an endorsement nor a recommendation. OMNI-AUTOMATION.COM assumes no responsibility with regard to the selection, performance or use of information or products found at third-party websites. OMNI-AUTOMATION.COM provides this only as a convenience to our users. OMNI-AUTOMATION.COM has not tested the information found on these sites and makes no representations regarding its accuracy or reliability. There are risks inherent in the use of any information or products found on the Internet, and OMNI-AUTOMATION.COM assumes no responsibility in this regard. Please understand that a third-party site is independent from OMNI-AUTOMATION.COM and that OMNI-AUTOMATION.COM has no control over the content on that website. Please contact the vendor for additional information.