Skip to main content

Shortcuts App

Snippety provides actions for Apple's Shortcuts app, so you can automate your snippets and combine them with any other app on your Mac.

info

Shortcuts actions require Snippety Pro.

How To Use​

  1. Open the Shortcuts app and create a new shortcut.
  2. Search for Snippety in the actions list.
  3. Add an action and fill in its parameters - snippets, collections, and tags are suggested automatically.
  4. Run it from the Shortcuts app, the menu bar, Spotlight, or by asking Siri.

You can open the Shortcuts app directly from App Settings -> Integrations -> Shortcuts App.

Available Actions​

Snippets​

ActionDescription
Find SnippetFind a single snippet by name, ID, or deeplink, or pick one from the list.
List SnippetsList snippets filtered by name, collections, and tags.
Create SnippetCreate a snippet with a name, keyword, description, format, collection, tags, template, and Quick Access Menu flag.
Edit SnippetChange any of the fields above on an existing snippet.
Delete SnippetDelete a snippet.
Expand Last Used SnippetExpand the snippet you used most recently and return the text.
Expand Most Used SnippetExpand the snippet you use most often and return the text.
Set Snippet Expansion ModeSwitch between pasting to the application, copying to the clipboard, or both.
Show SnippetReveal a snippet in the Snippety window.
Create Snippet in AppOpen Snippety's new-snippet editor, optionally pre-filled from the clipboard.
Edit Snippet in AppOpen a snippet in Snippety's editor.

Collections​

ActionDescription
List CollectionsReturn all collections.
Show CollectionReveal a collection in the Snippety window.
Delete CollectionDelete a collection and every snippet inside it.

Tags​

ActionDescription
List TagsReturn all tags.
Create TagCreate a tag.
Rename TagRename a tag everywhere it's used.
Delete TagDelete a tag and strip it from every snippet.
Add Tags to SnippetsAttach one or more tags to one or more snippets.
Remove Tags from SnippetsDetach tags from snippets.

Expanding Placeholders​

Find Snippet and List Snippets can resolve the snippet's template for you - use the Expand Snippet (or Expand Snippets) parameter.

Only placeholders that need no user input are resolved. Placeholders asking for values fall back to their defaults, so the shortcut never stops to show a form.

Snippet Properties​

Actions returning a snippet expose these properties, which you can use in the following steps of your shortcut:

  • Id, Name, Keyword, Description, Format
  • Collection, Tags
  • Template - the raw template, with placeholders untouched
  • Expanded Template - the resolved text, when expanding was requested
  • Expand Counter, Created Date, Last Updated Date, Last Used Date
  • Deeplink - a snippety:// link to the snippet, see Deeplinks

Tips​

  • Combine List Snippets with Choose from List to build your own snippet picker with any filters you like.
  • Expand Last Used Snippet returns text, so you can pipe it into any other action - sending a message, filling a form, or writing a file.
  • If you prefer the terminal over Shortcuts, the same operations are available through the CLI.