Slashtype keeps your text snippets in one cloud library and types them on every Mac you use: type /addr in any app and it becomes your address. This workflow brings that library into Alfred, and brings your Alfred snippets into it in one step.
Download Slashtype for Alfred (Alfred 5 with the Powerpack). Open the downloaded file to install it.
Type slash and press ↩︎ on Connect Slashtype. Your browser opens on slashtype.co, where you create your free library (or sign in) and connect Alfred. The workflow saves its key itself.
A key made on your library's Raycast & Alfred page can also be pasted as Slashtype key in the Workflow's Configuration.
Search your Slashtype snippets via the slash keyword.
- ↩︎ Paste the snippet into the frontmost app.
- ⌘↩︎ Copy the snippet without pasting.
- ⌘L Show the snippet in Large Type.
Add a snippet via the slashnew keyword: its keyword, a space, then its text (slashnew /addr 1 Example Street). A keyword your library already has is never overwritten.
Save the selected text as a snippet via the Universal Action. It asks for the snippet's keyword.
Bring every snippet collection in your Alfred preferences into your Slashtype library via the slashimport keyword. Each collection keeps its keyword prefix and suffix, a keyword your library already has is left as it is, and nothing in Alfred changes.
To type your snippets in every app on every Mac, install Slashtype on each Mac once, from Terminal, then allow it under System Settings > Privacy & Security > Accessibility:
curl -fsSL https://slashtype.co/install/alfred | sh
Once your snippets are in Slashtype, turn off Alfred's own expansion for them (Alfred Preferences > Features > Snippets > Automatically expand snippets by keyword), so one keyword does not expand twice.
If you answer support tickets on a Mac, start with four canned replies for acknowledging a ticket, asking for details, sharing an update, and confirming a fix.
Download the Alfred collection or get the CSV for another editor. Open the collection in Alfred to use it. If you also want the replies in your Slashtype library, run slashimport.
To try one reply by hand, save this as /received in your editor. Replace the square-bracket fields before you send it.
Hi [first name],
Thanks for flagging this. I’ll look into [issue] and update you by [time and time zone].
[Your name]
How to bring Alfred snippets to every Mac
For support, recruiting, and sales teams on Mac: Share one cloud snippet library across up to 25 team Macs for a flat $29/mo ($240/yr) instead of per-seat pricing: Slashtype Team.
You can also install the native macOS menu-bar app via Homebrew: brew tap founden-bot/slashtype && brew install --cask slashtype.
All three keywords can be changed in the Workflow's Configuration. Keywords puts a / in front of every keyword that starts with a letter or number as it comes across (addr becomes /addr): Slashtype types a snippet as soon as its keyword is complete, so a plain addr would also expand at the start of "address".
The key can read your snippets and add new ones. It cannot change or delete a snippet, and it works until you turn it off on your Raycast & Alfred page; Slashtype emails you whenever a key is made. Connecting saves the key in the workflow's data folder, readable only by you. The workflow talks only to slashtype.co over HTTPS, passes the key to curl on its standard input (never on a command line), and pastes snippets as transient clipboard items, so they stay out of clipboard history. Every line of it is in workflow/: search.js behind slash, connect.js behind Connect Slashtype, key.sh where the key is read, add.js behind slashnew and the Universal Action, import.js behind slashimport. How Slashtype protects your snippets: slashtype.co/security.
MIT