Twitter

Website URL

Jabber

Location

Interests

With the new features in Alfred Snippets, I'm considering consolidating all my snippets from aText into Alfred. One feature that I use often in aText is the ability to embed a snippet inside another snippet expansion. This allows me to treat smaller snippets as variables that can be reused in other larger snippets.
Is this possible with Alfred's Snippets?

Hi, I accidentally deleted my main collection of snippets, instead of just the one individual snippet inside that collection (wasn't paying attention to which '+/-' I was pressing).
I don't have a sync location set and unfortunately don't have a time machine backup - does anyone know where the alfdb file goes when it's deleted? Not in trash, hoping it's still recoverable.
Thanks in advance, any help is really appreciated!

There are some ways to create and use the snippets in Alfred.
1. Using snip command .
We can only see the command name, and copy the snippets but cant see the contents.
2. Using clipboard manager
we can search and see the contents of snippets and copy it, but can not see the preview (eg. using shift key)
Here, I would like to get help creating a workflow which will write the snippets to a file and quickview it.
idea:
command: qsnip hello
effect: copies the snippet called hello and paste the contents "hello world" to a file called "mysnip.txt" in the directory of workflow.
effect: qlmanage -p mysnip.txt
Problem:
I am unware how to save the snippet to the file "mysnip.txt"
I have shared the minimal workflow here:
https://github.com/bhishanpdl/Shared/blob/master/Alfred_questions/qsnip.alfredworkflow?raw=true

Hi all,
I accidentally deleted the whole collection instead of one snippet. Is there a way to retrieve that? Maybe something on the file system in the Library folder?
Thanks in advance for your help.
- Charlie

Hi there,
Recently, I noticed that when I'm typing some snippet keyword will be picked up by computer, even I'm not within the Alfred box.
Eg,
I have snippet as 'name', when I was typing inside Bear notes, when I type name, the snippet content will pop up into the text field.
Can you please look into this?
Ian

I know people have requested image support in the clipboard history feature in Alfred. That would be great, but I would really like to see support for maintaining text formatting (rich text) in the snippets and clipboard history. As of now all text is converted into plain text in the history and snippets. It would great if formatting were not lost.

I'm trying to work out how to complete a second step in a new workflow that will streamline a workflow I use several times a day.
I create Markdown notes throughout my day. I have a pretty basic workflow that runs a terminal command that, in turn, creates a file and opens it in my text editor. I then invoke a snippet that populates the note with predefined text, and multiple clipboard items that I save before I invoke the workflow. In other words:
Save multiple bits of information to my Alfred clipboard in a predetermined sequence
Run a terminal command through a simple workflow that creates the Markdown file, and opens it in my text editor
When the file opens in my editor, I manually run a snippet that populates the file, including the clipboard items using {clipboard:0}, {clipboard:1}, etc syntax.
The terminal command looks something like this:
touch ~/path/to/directory/$(date +%Y-%m-%d)_Feedback_{query}_Interactions.md & open ~/path/to/directory/$(date +%Y-%m-%d)_Feedback_{query}_Interactions.md -a Atom
The {query} is something I add when I trigger the workflow. The snippet contains predefined text with placeholders for my clipboard items.
I'd like to combine all of that from into a single workflow. What I can't work out is how to include the 3rd step in the workflow so I can run it all as a single step. I don't suppose anyone has any suggestions?

I have tried multiple different settings to fix it, but whenever I expand a snippet into Word, it reformats the paragraph spacing, messing with my document. Is there an option (in either Word or Alfred) to fix this?
Thanks!

This is very minor, but also maybe very easy to adjust? In the Snippets section, can the ‘add’ and ‘remove’ buttons be oriented with the left side of their respective fields? It’s silly, but I click 'add collection’ all the time meaning to click ‘add snippet’ because it’s visually near to the field, and since we read left to right, I think orienting the GUI that way improves the flow. Plus, if they were both oriented to the left it would be less distance to travel between mouse clicks; microseconds in efficiency!

I noticed that when I use text expansion in VS Code, the snippets don't expand fully. It seems to occur when the Markdown All in One extension is enabled. I've opened an issue here: Text snippets don't expand correctly when using text expansion, with Markdown All in One enabled · Issue #200 · neilsustc/vscode-markdown.
I did some additional testing with TextExpander and I wasn't able to reproduce the issue when I expanded snippets in TextExpander, when the Markdown All in One extension is enabled in VS Code.
Would there be something about how Alfred expands snippets that differs from how TE handles text expansion, that could be causing this issue in VS Code? I've only really noticed this issue in VS Code, and when the Markdown All in One extension is enabled. I've been using Atom as my primary editor and don't have this issue there, so this seems to be caused by some sort of interaction between VS Code (with the extension enabled), and Alfred.
I don't suppose you have any insights that might be helpful in troubleshooting this?

Hi
When I click on 'Automatically expand snippets by keyword' the Alfred Text Service dialog is coming up but when I click on 'Let's get started!' then nothing happens.
System Preferences is not coming nor is the dialog box to ask for permission.
If I go to the Security & Privacy / Privacy tab there is nothing shown.
I, eventually, was able to fix it by using 'Path Finder', go into Alfred3 package content and drag the Alfred Text Service into the Security & Privacy / Privacy tab.

Hi guys,
I use snippets a lot in Alfred 3, and I badly need a quicker way to edit existing snippets. They're so awesome!
Please see 1st screenshot: if Cmd+S on selected snippet would open it directly (2nd screenshot) within Alfred preferences, that would be a simple but fantastic improvement!
I'm suggesting Cmd+S for this because it is very similar to the already existing Cmd+S shortcut which transforms a clipping from clipboard history into a new snippet. Basically hitting Cmd+S would mean: "create a new snippet or open it for editing if it already exists". That would feel very intuitive!
After hitting Cmd+S,
this window would popup to make you able to quickly update the existing snippet.
Thanks!
Vermeer

Hi all,
I'm trying to use snippets to insert symbols (up arrow, down arrow, etc.) into anki cards on a Mac. My goal is to be able to insert them when making Anki cards but I am clueless on where to begin. Can someone point me in the right direction on where to learn?
Thanks!

I was hoping to use Alfred's snippets to store and edit 'canned responses' across various email accounts I manage. It works beautifully for text, but any hyperlinks are dropped. That is,
"click <a href='location'>here</a> for help" becomes "click here for help"
I know in Gmail that copy/paste retains hyperlink data, but any copy/paste into a text editor will drop the hyperlinks (I assume this has to do with meta-something).
I'm not even sure if the TextExpander tools feature something like this, but support for rich html snippets would be amazing!

Hi.
Trying to create an Alfred snippet that calculates a delta value from 'now' to a specific time or date. In short, I'd like to put a hard date in a snippet, and every time I insert it, the result is the number of 'days' or 'hours' between now and that hard date or time.
Thoughts?
Thanks!

I know I can export my snippets into a `.alfredsnippets` file. Is it possible to export into another format, or convert that format into something like a `.csv` file? I don't intend moving to another service but I don't like being locked into a specific format after putting so much effort into my collections. Also, it would be great to be able to work on my snippets in my text edit where I can modify, add to, and maintain my collection as a `.csv`, or something similar.
I imagine this is a little controversial because there are so many competing products. At the same time, I'd feel even better about using Alfred if I felt that I wasn't risking losing everything if I am ever forced to use something different (for example, if I have to replace my personal machine, I'd probably switch to Linux).

Hi everyone! I built something and wanted to let you know
I wanted to make some snippets for HTML entities (I know there are some databases available, but I wanted to customise some of the keywords to my own liking).
I searched online for something that would let me maintain a spreadsheet and convert that into the .alfredsnippet format. Found a few Python scripts but I wanted something simpler, so I built a quick in-browser that lets you copy a bunch of spreadsheet cells (copied cells are in TSV format), paste it into a big ol' textarea, and it'll generate/download the .alfredsnippets file for you
The tool itself is here:
https://rawgit.com/dhoulb/alfred-snippet-generator/master/index.html
The source code etc is here if you're that kinda gal:
https://github.com/dhoulb/alfred-snippet-generator
Let me know if you find it useful. Should make it tonnes easier to build/maintain large sets of snippets. I'm thinking a full set of Emoji snippets (should be easy enough to pull from this database), and a full set of character entity characters.
In addition because TextExpander can export as CSV, this will make it easy to convert those to Alfred instead (no need to run a script, just copy/paste).
Dave

Right now Alfred allows full fuzzy matches for app names only, e.g. pto -> Photos.
This leads to inconsistent results, when searching for files and also clipboard, snippets etc. I would really like an option to enable the same behavior everywhere, so I can type for instance errcod -> ErrorCodes.
Are there any plans to implement this in the future?

Hi alfredders
I love Alfred and struggle to find anything wrong with it. It has managed to substitute lots of tiny utility apps (weather, calculator, clipboard manager... Just to name the first that come to mind). For my line of work I type frequently the same text over and over and over. I've been using Typinator in the past and love its Input Field options (see attached screenshots).
I was wondering if there was something similar in development for future version of Alfred or - EVEN BETTER - if a workflow already exists to achieve a similar result. In short I'd like to have the ability to expand a snippet with multiple choice to pick from (either single option or multiple choice, doesn't matter really). Or should i simply accept the idea that this is not achievable for the time being/future? I'm not a developer: I'm in the other side of the spectrum (read Designer) so not sure what I'm talking about here
Thanks in advance everyone and forgive me if this was not the right section to post this!

I'd like to see fuzzy search for snippets.
Right now if you skip one letter in the snippet name nothing matches. I tend to have snippets for programming that start with similar strings but ultimately diverge toward the end. So if I'm trying to bring up my "gf_left_half" snippet I could just search glh for instance to bring it up.

Snippets please support gif and image~! So I can input image emoji by snippets.
In China, It's popular to send emoji while chatting online, if alfred snippet support image and gif, it will earn many Chinese user!!
example:
While input "!jump", I hope it become flowing gif
tiao.gif

So I recently wants to make a complete LaTeX Snippet auto completion by Alfred. So I stole some codes and put it together.
The file is hosted on GitHub right now:
The LaTeX Subsitutions.plist comes from LaTeXSubstitutionPlist.
The original Python script comes from alfred-snippets, and I modified it to fit my need.
Use it as normal LaTeX symbols but adding a backslash \ to complete the shortcut to prevent conflicts.
For example: \alpha\ expands to α
The download link is below:
File Link