# Search the Community

Showing results for tags 'snippets'.

• ### Search By Tags

Type tags separated by commas.

### Forums

• Alfred 3
• Make the Most of Alfred
• Discussion & Help
• Bug Reports
• Alfred Feature Suggestions
• Themes
• Alfred Workflows
• Share your Workflows
• Workflow Help & Questions
• Alfred v2 Themes
• Alfred Remote for iOS
• Alfred Remote Discussion & Help
• Remote Connection Troubleshooting

### Categories

• Articles
• Forum Integration
• Frontpage
• Pages
• Miscellaneous
• Databases
• Templates
• Media

• New Features
• Other

• 0 Replies

• 0 Reviews

• 0 Views

### Interests

Found 121 results

1. ## Nested Snippets (snippets within snippets)

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?
2. ## Feature Request : Interactive Variables for Snippets

Not sure if this has been requested, but I was dissapointed to see that the "Snippets" feature was not touched in this last 4.0 update. I would love to be able to create snippets that interacted and requested info based on how you define it. For instance, if my snippet is defined as: "Your name is %name%", when executed, a prompt will request the %name% value and then paste the shortcut --> "Your name is Christian". I am trying to use RocketTypist to do this but it's buggy, this would be a nice addition to the snippet feature in Alfred, which I have found to be very responsive. Thanks!
3. ## Feature Request: Rich Text in Snippets and Clipboard History

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.
4. ## Newer emojis in the Emoji Snippets Pack

Hi there, I really wanted to be able to use :ok_hand: as a shortcut for 👌, but the emoji pack didn't support these new emojis... So I made my own! There ae more than 400 emojis that ware added, it still works the same And I'll keep updating it for the forseeable future. Download link: https://github.com/paris-ci/Alfred-Emoji-Pack-Update/raw/master/snippets/Emoji Pack Update.alfredsnippets Code used to generate the pack: https://github.com/paris-ci/Alfred-Emoji-Pack-Update It's basically the same thing as before, so here is the installation tutorial : http://joelcalifa.com/blog/alfred-emoji-snippet-pack/ (Don't use the download link there, it's still the old version, I am not the original author)
5. ## iOS keyboard text expansion

This forum has seen a lot of posts recently (including my own) which are basically geared towards allowing Alfred to replace TextExpander in the wake of the Smile pricing/sync kerfuffle -- ideas like allowing tabs/form filling, input within snippet expansion, snippets triggering workflows/scripts, case sensitivity in snippets, etc. Thinking about what it would take for me to be able to replace the 250+ snippets I have in TE with Alfred snippets, there are two killer features....1) is snippets to trigger scripts (mostly for date math)....I suspect this is in the works....2) is the ability to use my snippets on iOS. As far as I've seen, this hasn't come up, but it seems like an area where Alfred could really raise the bar. Smile has a pretty widely adopted API ( https://smilesoftware.com/textexpander-ios/apps) but the TE keyboard itself is pretty slow and generic. So I'd like to see an Alfred iOS keyboard, either as part of Alfred Remote or a separate app. It could just do snippet expansion on iOS using Alfred's synced snippets. If it could run scripts, this would be even better. And for the icing on the cake, maybe it could communicate with Alfred on OS X, run a query and return the results (the kind of two-way communication I think people were hoping to see emerge with Alfred Remote). OR....now that Smile has lowered their price on TE 6 to $20/year for existing users, and$40/year or so for new users, maybe it would make sense to not invest development resources into snippets. For me at least (as an existing user) the revised TE pricing makes switching a lot less urgent and compelling -- the main concern is the need to rely on Smile's sync service. Hence the subject line....if Alfred is going to go all in with snippets and replace TextExpander, it seems like an iOS keyboard is going to be necessary for many users....if that's not on the roadmap, it might not be worth prioritizing snippet features. Thoughts?
6. ## Import TextExpander snippets into Alfred v3

Is there any way to import over my TextExpander snippets into Alfred v3? I found this, but Github is a bit beyond me, no idea how to get started.
7. ## 2 quick Alfred snippet questions

Using Alfred 4 + Powerpack... I want to migrate from another text expander and keep everything in Alfred. Is there a way to require a delimiter such as a space, period, question mark, etc. in order to autoexpand a snippet? Other text expanders do that. Is there a way to create a shortcut to open the Snippets window directly without having to access Alfred Preferences and then select "Snippets" from the sidebar? I would like a fast way to make a selection into a snippet. Thanks!
8. ## Input Fields for Snippet Expansion

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!
9. ## Comprehensive Snippet Expansion for Latex Greek Letters

If you are a STEM student, you might have been familiar with the markup language LaTex. Typing equations in LaTex is painful and it is almost impossible to compile the latex document without getting an error once or twice. To facilitate writing LaTex documents, I have created a comprehensive (more than 2000) snippets especially dedicated to latex greek letters. Example usage: Type this: \\a This expands to: \alpha Type this: \\ax This expands to: $\alpha$ and so on. Here: prefix = \\ letter = a expands to = alpha The snippet can be found in my GitHub: https://github.com/bhishanpdl/ALFRED/blob/master/AlfredSnippets/LatexGreek.alfredsnippets Installation: 1. Download the snippet and double click 2. UNCHECK the option Strip snippet of auto expand flag (by default it is checked, uncheck it) Detailed usage: Some rules: 1. I call Partial, Angle and Bold as prefix terms. 2. I call other attributes such as bar, prime, hat, etc suffix. 3. x means surround by the two dollar sign. E.g to create $\alpha$ we need to type \\ax. 4. suffix attributes need only one extra letter at the beginning. Eg. to create \bar{\alpha} we need to type \\ab` where b means bar. 5. prefix attributes needs two surrounding letters. E.g. to create \partial{\alpha} we need to type \\pay here prefix p means partial and we also need last letter y.
10. ## Lost 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!
11. ## [SOLVED] How to write the output of snippets to a text file and quickview it?

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
12. ## Undo deletion of Snippet collection

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
13. ## Import snippets from other apps?

Would love to have a way to import snippets already created in other apps into Alfred? I'm thinking apps like aText, TextExpander, etc?
14. ## solved Snippet option will pop up while typing in a normal text field

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
15. ## How to create a workflow that creates a file, then uses a snippet to populate it?

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?
16. ## Snippets Reformat Paragraphs in Microsoft Word

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!
17. ## Minor GUI tweak for Snippets category

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!
18. ## Text expansion issue when working in VS Code

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?
19. ## Rich Text in Snippets

Is there a way to use rich text in snippets such as links or formatted text?
20. ## Cannot Enable Alfred Snippets

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.
21. ## Hotkey to quickly edit existing snippet

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
22. ## Any luck with integration with Anki?

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!
23. ## Allow for HTML content (hyperlinks) in Snippets

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!
24. ## Countdown delta

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!
25. ## snippets Allow to assign Snippets group to different application

It'll be great useful if we can use snippet groups only when some specific applications activated.
×
×
• Create New...