Shortcuts¶
- class apps.Shortcuts¶
Actions for Shortcuts.
- create_a_new_shortcut()¶
Jump to the shortcut editor and to create a new, empty shortcut.
- import_a_shortcut(url, name=None, silent=None) str¶
You can import .shortcut files into the Shortcuts app and add them to your collection. This is useful, for example, if you want to share a shortcut online and provide a link for others to quickly add it to their library.
- open_a_shortcut(name)¶
Launch the app to a particular shortcut in your collection.
- open_gallery()¶
Open Shortcuts on the main page of the Gallery.
- open_shortcuts()¶
Launch the app to the state when it was last used.
- run_a_shortcut(name, input=None, text=None) str¶
This functionality may be useful in automation systems that extend beyond Shortcuts itself, so that other apps can run a shortcut in your collection. Or you could use the Shortcuts URL scheme in a task manager like OmniFocus or Todoist for running a shortcut as one step in a project.
- search_gallery(query)¶
Search the gallery