Jump to content

Search the Community

Showing results for tags 'snippets'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • 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


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


  • New Features
  • Other

Found 110 results

  1. 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.
  2. 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!
  3. 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!
  4. It'll be great useful if we can use snippet groups only when some specific applications activated.
  5. 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!
  6. 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).
  7. 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?
  8. Snippet Fuzzy Search

    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.
  9. 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
  10. 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
  11. LaTeX Snippets

    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
  12. It would be great if one could change the snippet expansion sound. The current sound always sounds like an error to me.
  13. I use the clipboard and snippets a lot for work, and we often test our websites in different Operating Systems and Browsers by means of VirtualBox. I use automatically expanding snippets to save time, but I noticed the snippets and the clipboard do not work inside of VirtualBox. I've used a program called aText (https://www.trankynam.com/atext/), which is able to paste into VirtualBox, so I believe it's possible.
  14. I know this issue has been brought up on the Alfred forums previously with no resolution. Has anyone managed to find a way to have snippets automatically expand in Adobe Illustrator CC 2017 and Adobe InDesign CC 2017? I am currently using MacOS High Sierra. Text expansion is working in Adobe Photoshop CC 2017. I am evaluating whether I can use Alfred as a replacement for Text Expander, which does perform snippet expansion correctly in these applications. I am, of course, a Powerpack user.
  15. It would be create to create snippets with multiple cursor locations. Use case: I want to create a snippet with the same value in multiple locations. Example 1: console.log('======================> {cursor}', {cursor}); Example 2: Hello {cusor}, You're invited to the following event. I look forward to hearing from you {cursor}
  16. Cribbing from my comment here, I'd love for search in Snippets preferences allow for even greater search sophistication, not just the present 'search whole string as entered' behaviour. At present, if I have a snippet with the contents Thanks for writing!, I can find it in Snippets preferences by searching Thanks for but not Thanks writing. I've got a lot of long letter-y bits in my Alfred snippets, and this behaviour (implicit-Boolean-AND-between-terms, rather than the current string-in-inverted-commas verbatim approach) would help me more easily find the particular snippet I'm looking for (often to edit or consult). ❤️
  17. Snippet: Expected behavior: `\*` should be auto-expanded to `☆` regardless of caps lock state. What happens: If caps lock is toggled, the text will not auto-expand, despite having no characters that are changed by the caps lock toggle. System Details: Alfred v3.4.1 [860] macOS Sierra, Version 10.12.5 (16F2073)
  18. Fairly rookie post. I could not find the answer. I hope I didn't miss the obvious. Is there a way to move snippets between folders? I started one to correct my most common DOuble CAps and added a few others. (BTW-Alfred is FANTASTIC! at correcting typos--in any application. I love it.) Now my double cap list is growing fairly quickly and will be huge soon. I want to start a new folder with the non double cap snippets. Do I have to start from scratch or is there a way to move them? This place is so on the ball I was hoping it would work out.
  19. I would love it if Alfred would add the possibility to add sub and superscripts to snippets. This could come in handy for writing down mathematical or chemical formulas. I use Alfred for snippets mostly and this would improve my experience significantly. ( I looked in the forums for this feature but I didn't find if, sorry if I didn't look well enough)
  20. Alfred 3.4.1 Build 860, Friday 21st July 2017 macOS Sierra Version 10.12.6 When trying to create snippets if the first few characters of your snippet have been used before you are blocked from creating a snippet example: trying to create a snippet for the prime and double prime characters if we create the prime snippet using the keyword: `!prime` then when trying to create a snippet for the double prime you are blocked from using i.e. `!primed` as soon as you type `!prime` in the keyword field the text turns red and no matter what you type after that string. This is also true for shorter strings e.g. if you've used `!dd` as a keyword you cannot use `!ddd` or any other combination that starts with `!dd`
  21. One feature that I like in aText, my current text expander app, is the option to use the same keyword for multiple snippets. For example, I use ',mail' for all of my email addresses. Whenever I enter it, a small window pops up and I'm able to key down and up and hit enter to select which email address I want to use (Here is a GIF of that: http://tinyurl.com/y8k2ur7y). This saves me creating a unique keyword for each email address and try to remember it when I need to use them. I don't believe Alfred, even with the latest v.3.4.1 update, has that feature. Am I mistaken? Perhaps there is a neat way to implement this function that I'm not aware of?
  22. Snippets and input cursor

    Hi All, Alfred newbie here. I'm intrigued by snippets. I hope I can accelerate greatly using them. One thing that I couldn't see how to do, though: indicate where the cursor should land once pasted. For example, let's say I make the snippet '§proc' to expand to: function () { } I'd like the cursor to be just before the (), so that I can type the function name and move on from there. I have to move the mouse and click before the (), or use the arrow keys to get me there. It'd be great if there were a placeholder to indicate where the cursor should end up: function {cursor}() { } ...or some such. I looked in the documentation, but I couldn't find the answer. Can anyone point me to where this is documented? -Ken
  23. I hate to post bug reports, because it makes me sound dissatisfied. However, I am not. I absolutely adore Alfred. There, I said it! But I thought it worth to report this: Expansion works correctly until text has been copied within NetBeans After that, the keyword expands into the copied text instead of the desired snippet So, to put it as an example I open NetBeans I place my cursor in a document I type my keyword The keyword expands and my snippet appears Good I then copy something from the document I’m working on, say “$my_lovely_variable = 3;” I type my keyword The keywords expands to say “$my_lovely_variable = 3;” instead of my snippet Not so good I don’t know if NetBeans being a Java application is relevant to this issue, and I haven’t got any other Java apps lying about to test with. Everything is the latest build: Alfred 3.4, Build 850, Monday 19th June 2017 OSX 10.12.5 (16F73) NetBeans IDE 8.1 (Build 201510222201) Java version 8 Update 131
  24. Time Stamp Workflow

    I just added workflow snippets to my Time Stamp Workflow and noticed that I had never shared it. So, here it is. You can use "ts:stamp" to list the pre-defined date/time stamp format and paste the current date/time into the top application. Or, you can use the "ts:build" to build your own date/time stamp to add to the list. I also have several predefined snippets: ;tsl = the current date/time using the last select date/time stamp. ;ed = the current date/time in the mm/dd/yyyy format. ;dow = the current day of the week. ;nsu - the next Sunday date using the last select date/time stamp. ;nmo - the next Monday date using the last select date/time stamp. ;ntu - the next Tuesday date using the last select date/time stamp. ;nwe - the next Wednesday date using the last select date/time stamp. ;nth - the next Thursday date using the last select date/time stamp. ;nfr - the next Friday date using the last select date/time stamp. ;nsa - the next Saturday date using the last select date/time stamp. My GitHub: https://github.com/raguay/MyAlfred Packal: http://www.packal.org/workflow/time-stamp-workflow
  25. 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?