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


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

Categories

  • New Features
  • Other

Found 95 results

  1. 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?
  2. 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). ❤️
  3. 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)
  4. 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?
  5. 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?
  6. 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.
  7. 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)
  8. 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`
  9. 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
  10. Alfred trims trailing spaces and tabs in keyword. Fix it please.
  11. 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
  12. Quiver Workflow

    Quiver Workflow This workflow allows you to create templates with Handlebar syntax inside of the Quiver program. To use the workflow, you have to have Node.js installed first. I recommend using [Homebrew](http://brew.io) to install it. You need to make sure you have Node.js 6.0+ on your system. As of this update, I am using node.js 6.6. With the node program installed, set the environment variable nodeProg to the right to the directory path of the program. If you used HomeBrew, it should be "/usr/local/bin/node". Once Node.js is installed, go to your Quiver Library file in Alfred Browser and select the “Set Quiver Library” file action. This tells the workflow where your templates (or snippets) are to be kept. Create a workbook called “Snippets” with one note called Defaults. The Defaults note has to have one code block set to JSON and the defaults for the Handlebar expansions set. The rest of the notes will be templates. When you run “qt”, it will list all of your snippet in the Snippets notebook. When you select one, it will be expanded with any json cell the note and the Defaults json note data. There are several special helper function for Handlebars defined. They are: {{userfillin <text>}} The user will be asked for the value of the text to be inserted at that point in the snippet. This gives a way to add text to a snippet upon expansion. {{clip <num>}} This command will get the specified clipboard entry and put it in it's place. The <num> starts at 0 for the previous clipboard. The environment variable clipHist defined to the right will determine how far back in history of the clipboard will be retrieved. The larger the number, the slower the program is running. {{env <variable name>}} This command will get the environment varable specified and put it in it's place. Therefore, the macro {{env "alfred_workflow_data"}} will put the contents of the alfred_workflow_data environment variable in it's place. {{save <name> <text>}} This command creates a helper named “<name>” with the expanding text of “<text>”. It also places the given “<text>” at the point of definition. This allows you to create text snippets on the fly inside the template. Very handy. {{clipboard}} This helper command places the current clipboard contents at the point in the template. {{date <format>}} This will format the current date and time as per the format string given. See the help document that is loaded upon initialization. {{date <date/time> <format>}} This takes the date/time string and formats it according to the format given. See the help document that is loaded upon initialization. {{copyclip <num>}} Inserts the copyclip <num> into the location of the macro. The following data expansions are defined as well: {{cDateMDY}} gives the current date in Month Day, 4-digit year format {{cDateDMY}} gives the current date in Day Month 4-digit Year format {{cDateDOWDMY}} gives the current date in Day of Week, Day Month 4-digit year format {{cDateDOWMDY}} gives the current date in Day of Week Month Day, 4-digit year format {{cDay}} gives the current date in Day format {{cMonth}} gives the current date in Month format {{cYear}} gives the current date in 4-digit year format {{cMonthShort}} gives the current date in Short Month name format {{cYearShort}} gives the current date in 2-digit year format {{cDOW}} gives the current date in Day of Week format {{cMDthYShort}} gives the current date in Month day 2-digit year format {{cMDthY}} gives the current date in Month Day 4-digit year format {{cHMSampm}} gives the current date in h:mm:ss a format {{cHMampm}} gives the current date in h:mm a format {{cHMS24}} gives the current date in H:mm:ss 24 hour format {{cHM24}} gives the current date in H:mm 24 hour format You can also specify an area to split up the expansion using the "%|% character. If the "%|" characters are in a clip, the first part is pasted directly while all the other parts are put into copy clips starting at 1. You can then paste each part by pasting the corresponding copy clip. This workflow has the feature to save and paste copy clips: clips of text. You assign each clip a name (ie: 1, 2, a, b, life, etc) when you save it. It is kept until you save on top of it again. You copy and paste using a hotkey (I use ctrl-c and ctrl-v). Version: 3.0 Date: 07/04/2017 Packal: http://www.packal.org/workflow/quiver-workflow Github: https://github.com/raguay/MyAlfred
  13. 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
  14. Hello, I would normally not want to expand my snippets in midstring. However, for for certain expansions, such as a; => ä o; => ö Only the special characters, I would like to expand in midstring. Currently I see the option only to enable mid string globally. It would be very helpful if it can be configured for separate group of snippets.
  15. I really like the idea of Alfred managing my text snippets (I'm using a separate app for that so far). However, when trying to migrate, I found that Alfred has no option to expand snippets only when typed as a entire word, i.e. trigger the expansion only after the snippet keyword has been terminated by a space or newline or tab. That's a feature available in most text expanding utilities I know, and if Alfred had it too, that would be great! For now, I can include a space in the keyword, which is the most common case. Entering a tab or newline in the keyword field does not work (obviously).
  16. 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!
  17. 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!
  18. Hello, Since Adobe Illustrator was updated to CC 2017, snippets won't auto-expanded. There's no problem in other applications, issues only in Adobe. From 10 times it works 1 time. I have tried to check Help and Troubleshooting articles, but no luck. The problem is probably in Adobe, on the old version everything worked. Please help resolve the problem. Thanks in advance. Alfred v3.4 [850] Adobe Illustrator CC 21.1.0 OS X El Capitan 10.11.6
  19. Rich Text in Snippets

    Is there a way to use rich text in snippets such as links or formatted text?
  20. Keyboard maestro has a basic implementation for regex snippets and I was thinking it might be cool for Alfred to take it on. If I could be in whatever text editor/chatroom/whatever and have code shorthand to write something I useful, it opens up some interesting productivity opportunities. Currently with KM I use (⌥a) å.fill(text,count) to make text repeat a certain number of times. Useful when spamming texts haha! Anyway, let me know what you think.
  21. 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.
  22. 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.
  23. How can you preview links in clipboard history? I copy a lot of bitly links into my clipboard and re-use them, the challenge is when I'm trying to sort through the Clipboard history I can't tell the content of them. Is this possible? How could it be done?
  24. I've been trying to figure out for a while now (a few days) and it has been eating me up. How does one create a workflow that can allow, with a keyboard shortcut, the pasting of multiple items from the clipboard? Ideally, I would be able to copy several items to my clipboard, and then with some shortcut, be able to post all the clippings from the last 5 minutes? But, it would also be really awesome if I could open the clipboard viewer, and with the "Shift" key held down and navigating with arrows, be able to select multiple ones to past in. I've been searching the forums, and I think I might just not be searching the right terms, or no one has done this. I think I still have alfred 2, so these {clipboard:1}, {clipboard:2} things aren't in the recognized coding language parameters (made up that combo of words, pardon me) If anyone has any suggestions on how to do this, or can help me to find something like this, PLEASE HELP ME. AHHHH...
  25. Hi, Yesterday I updated Alfred to the latest version of Alfred (3.3.2) as I wanted to get rid of the little bug I encounter every time I expand a snippet for the first time of my session. Alfred either expands the latest clipboard item or if the text of my snippet is "Alfred", Alfred expands "AAlfred".
×