Jump to content

Text Expansion: Associate More than 1 Snippet w/Same Keyword?


sots

Recommended Posts

Possible to associate more than one snippet with the same keyword?  This is possible in aText, and I find it very useful:

  • In aText all my email addresses are associated with the same keyword (;;em)
  • Then, when I type the keyword, I am presented with a menu/dialog with all the email addresses
  • Much easier than having to create/remember a unique keyword for each email address

I have not found a way to do the same in Alfred—or have I missed something?

 

Many thanks!

 

Link to comment

This is a perfect job for a Workflow with a Snippet Trigger.

 

Screenshot 2021-11-18 at 11.47.15.png

 

Set the List Filter to "Argument Optional" and add in all the snippets as list items. The arg for each list item will be the snippet content. Set the Copy to Clipboard to "Automatically Paste".

 

When you type the snippet keyword, Alfred will automatically popup with a search box for the snippets you set in your List Filter.

 

Cheers,

Andrew

Link to comment
  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...