×

Press Resources

The following information and links are provided as a resource for journalists. For more information please contact: pr@omnigroup.com

Synopsis

Essential Links

Reference Links

Apple Voice Control Support Documentation:

Demos

Sequences of commands for demonstrating use of voice commands:

1) Title Case Item Names (macOS)

A couple of voice commands can make quick work of a normally cumbersome task. Find the latest project, title case its name, then select its parent folder, and title case the folder’s name.

Requirements: macOS OmniFocus 3.13

Required Voice Commands:

IMPORTANT: Before external Omni Automation scripts can be received by OmniFocus, you must enable the “Accept scripts from external applications” option in the Settings > Configure Plug-Ins > Security dialog. (DOCUMENTATION)

omnifocus://localhost/omnijs-run?script=var%20folderTitle%20%3D%20%22family%20bucket%20list%22%0Dvar%20folder%20%3D%20folderNamed%28folderTitle%29%20%7C%7C%20new%20Folder%28folderTitle%29%0Dvar%20folderID%20%3D%20folder%2Eid%2EprimaryKey%0D%0DprojectName%20%3D%20%22california%20redwood%20tour%22%0Dproject%20%3D%20folder%2EprojectNamed%28projectName%29%0Dif%28project%29%7BdeleteObject%28project%29%7D%0Dvar%20project%20%3D%20Object%2Eassign%28%0D%09new%20Project%28projectName%2C%20folder%29%2C%0D%09%7B%0D%09%09sequential%20%3A%20true%2C%0D%09%09note%20%3A%20%22Our%20trip%20to%20see%20the%20redwood%20trees%21%22%0D%09%7D%0D%29%0Dtag1%20%3D%20flattenedTags%2EbyName%28%22Travel%22%29%20%7C%7C%20new%20Tag%28%22Travel%22%29%0Dtag2%20%3D%20flattenedTags%2EbyName%28%22Vacation%22%29%20%7C%7C%20new%20Tag%28%22Vacation%22%29%0Dproject%2EaddTags%28%5Btag1%2C%20tag2%5D%29%0D%0DURL%2EfromString%28%60omnifocus%3A%2F%2Ffolder%2F%24%7BfolderID%7D%60%29%2Eopen%28%29
Demo Setup Script
 

var folderTitle = "family bucket list" var folder = folderNamed(folderTitle) || new Folder(folderTitle) var folderID = folder.id.primaryKey projectName = "california redwood tour" project = folder.projectNamed(projectName) if(project){deleteObject(project)} var project = Object.assign( new Project(projectName, folder), { sequential : true, note : "Our trip to see the redwood trees!" } ) tag1 = flattenedTags.byName("Travel") || new Tag("Travel") tag2 = flattenedTags.byName("Vacation") || new Tag("Vacation") project.addTags([tag1, tag2]) URL.fromString(`omnifocus://folder/${folderID}`).open()

Speak these phrases to execute the example on macOS:

Video: Title Case Name
Uses the voice command to set the name of items to title case.

2) Working with Text without Typing or Selecting! (iOS)

An example of how the integrated dictation capabilities of Voice Control blend with custom voice commands to make it easy to enter, format, and sort text strings.

Requirements: macOS OmniFocus 3.13

Required Voice Commands:

omnifocus://localhost/omnijs-run?script=project%20%3D%20new%20Project%28%22Summer%20Book%20List%22%29%0Dproject%2EcontainsSingletonActions%20%3D%20true%0DprojectID%20%3D%20project%2Eid%2EprimaryKey%0DbookTitles%20%3D%20%5B%22to%20kill%20a%20mockingbird%22%2C%20%22The%20count%20of%20monte%20cristo%22%5D%0DbookTitles%2EforEach%28title%20%3D%3E%20%7B%0D%09new%20Task%28title%2C%20project%29%0D%7D%29%0DURL%2EfromString%28%60omnifocus%3A%2F%2F%2Ftask%2F%24%7BprojectID%7D%60%29%2Eopen%28%29
Demo Setup Script
 

project = new Project("Summer Book List") project.containsSingletonActions = true projectID = project.id.primaryKey bookTitles = ["to kill a mockingbird", "The count of monte cristo"] bookTitles.forEach(title => { new Task(title, project) }) URL.fromString(`omnifocus:///task/${projectID}`).open()
  1. Run the demo setup script (above). A new project called “Summer Book List” is created and selected.
  2. Tap the first task ("to kill a mockingbird") and give the command: “Title Format”
  3. Tap the second task ("The count of monte cristo") and give the command: “Title Format”
  4. Tap the project and give the command: “Append Task” (be sure to tap again into empty area after vocal response to dismiss the Shortcuts overlay at the top)
  5. When the sheet appears, dictate the name of another book: ”A Catcher in the Rye” and dismiss the sheet overly by tapping the “Continue” button.
  6. After the sheet is dismissed, the new task will reamin selected. Give the command: “Append Task” again.
  7. Select the parent project and give the command: “Sort This Item”

Working with text with typing or selecting!

Installing voice commands on iOS/iPadOS

While Apple’s mobile operating systems currently do not support the Open URL action used in the voice commands files provided on this website, you can still create and use customized Omni Automation voice commands for iPhones and iPads!

To create your voice commands, we’ll use specialized Shorcuts workflows that you can “tap-to-install” from the various example pages. Simply follow these steps or view the illustrated instructions here:

  1. First, install an Omni Automation shortcut from one of the provided links. (below)
  2. Next, in the mobile Settings app, tap AccessibilityVoice ControlCustomize CommandsCustomCreate New Command… and in the forthcoming New Command interface select the installed shortcut as the value for the “Action” parameter.
  3. Enter one of the command phrases from the example’s documentation page (above) for the value of the “Phrase” property, and…
  4. Finally, set the value of the “Application” parameter to either “Any” for global access or choose the Omni app to target from the provided list of installed applications.

You can then activate Voice Control and use your voice command to trigger the shortcut to run the Omni Automation script!

 

 

 

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.