Jump to content

Search the Community

Showing results for tags 'snippet'.



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

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Twitter


Website URL


Jabber


Location


Interests

Found 46 results

  1. chan

    reveal snippet

    If searchsnippet and then want to change the content, how can I quickly reavel the selectedsnippet ? just likeReveal files in Finder?
  2. v3.6 [903] - High Sierra 10.13.3 Steps to reproduce: - trigger the clipboard viewer - choose an entry then Cmd+S to create a snippet from this entry - give the snippet a name, then save The snippet you just supposedly created is nowhere to be found :-/
  3. littleluce

    Sorting Snipets

    Ever since the latest 3.6 update, the sorting of my snippets has been changed to reflect recently used, even after searching for a snippet. I have 4 emails that I like to have on hand, and I've gotten used to be being able to type "em" then cmd+[1-4] depending on which email I want to use. All of the names and keywords are the same, so what can I do to get them back in my original order?
  4. 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
  5. In Alfred 3 there are automatically expanded snippets by keywords. They are awesome and work almost flawlessly after enabling the appropriate accessibility feature. As I understand, as you already have the code for detecting those keywords (I guess, by catching the consecutive key presses?), it shouldn't be hard to allowing using those keywords to trigger workflow actions. This would allow us to call workflows from any textual input. So, instead of at first calling Alfred or a specific command here, you could just write the keyword for this command and alfred would either call the action or present you with the alfred input window for your workflow. After calling the workflow the keyword should be deleted from the input, and you should have a way to replace it with the workflow's result. That's the basic what could be done with catching the keywords, but what would be even cooler — catching non-static keywords by regexps. Instead of a static keyword like `foobar`, you could set it to `foo(\d+)bar`, for example, and it would call the workflow as soon as you'd write somewhere `foo1bar`, `foo3434bar` etc., with the variable parts of the regex match as input you could use in your workflow. This would open a lot of possibilities for workflow authors.
  6. I want to run an Alfred command and it generate a new email for me, including text that I've already saved in a snippet. I run a martial arts club and when we get new members trying out I need to send them all the new joiner information after the session. So, the content is always the same, and the people are never in my contacts. I have got it working using a workflow as follows, which uses my snippet "mawelcome" to populate the body of the email: A keyword run a Script /usr/bin/oascript tell application "AirMail 3" set newMail to make new outgoing message with properties {subject: "Joining our martial arts club", sender:"my.email@myemail.com"} compose newMail activate end tell tell application "System Events" keystroke "mawelcome" end tell My question: is there a better way? I couldn't find anything that really described doing this, but I can imagine a lot of people want to do it, which made me think I was missing something obvious to approach it another way! Thank you!
  7. I have a snippet that I need to replace several locations with variable text each time I paste it. Is there a way to have cursor placed initially, then "tab" to the next location to replace a placeholder? Example, Title {placeholder1} URL: {placeholder2} JOB: - {placeholder3} Where each successive tab would jump to placeholder and highlight it for replacement? Thank you!
  8. Currently a search for github in snippet viewer/clipboard history won't find my snippet named Issue (GitHub) as I'd expect… was tempted to file this as a bug, but I think it's just Alfred's search being naïve/speedy and using whitespace as word boundaries? Kinda also relates to the search improvement suggestions over here:
  9. Is there any way to change the Snippet Sound? With all these interesting Alfred sounds, it would be a shame if we couldn't use them with Snippets.
  10. Snippet trigger objects in workflow seem to always being registered for expansion even if the workflow is not set as Enabled since they work all the time (the workflow is activated/run when writing the Snippet keyword if the workflow is enabled or not). Using: Alfred 3.5 Pre-Release - Build 871 ------------------ After some testing, Alfred seems to register/unregister the snippets at startup. I mean, if I disable a workflow that have a snippet trigger in it, the workflow will keep working until I restart Alfred. Same thing if I want to enable a workflow, if I enable a workflow that was disabled, I need to restart Alfred to really enable it.
  11. Hi! Right now, if I copied something to the clipboard and I want it not to expire, I have to go into the snippets preferences, add a new snippet etc. I'd like Alfred to have a predefined "Pinned" snippets list and to be able to add items to it by using a keyword/shortcut on a selected item in the clipboard history. Of course these items would have no "keyword".
  12. Any way to have a cursor appear in the middle of a snippet after executing? For example: snippet would = "Some text here {cursor would end up here} some more text here" after you call it. Hoping for something similar to how Sublime Text does it with the $1
  13. Hi, I'm trying to move from TextExpander to Alfred Snippets and so far things are going pretty well. BUT, am I correct that when searching Snippets, Alfred is only looking at the name of the snippet and the keyword? As opposed to the actual snippet itself. It sure would be handy if the snippet text itself was also searched. Thanks!
  14. I've got a snippet defined as: "ds," = "{date:yyyy-MM-dd' '}" I like to prepend dates to filenames and so when I'm in the SaveAs dialog of the Atom Editor, for instance, and I type my trigger, I just get a low-freq buzz (indicating snippet failure, I'm guessing). The snippets work as designed in the actual text of a file. Has anyone else run into this, or more to the point, does someone have a solution? TIA!
  15. sepulchra

    Snippet Help

    Is there a way to use the snippet workflow trigger mentioned here: https://www.alfredapp.com/help/workflows/triggers/snippet/ to fill multiple {query} fields with different text? I would like to be able to be prompted to fill multiple "fill-in" fields with different text. Is that possible?
  16. I've just migrated all my TextExpander snippets to Alfred (woot!). Would it be possible for snippets to expand within Alfred's search bar? For example, if I want to search for items with today's date in the title, I want to be able to type 'ddate' into the search, and watch that phrase be replaced with the actual, current date. I haven't found a way to do this. Am I missing something? Another example is that I have many snippets that are very long URLs. Using TextExpander, I could type the four or five letter snippet of a particular URLs into Alfred, and it would expand and then take me to that page. See what I mean? If I'm thinking about this the wrong way because there's a better method, just say the word. Thanks!
  17. Hi, I am a avid MS OneNote user. Unfortunately, I am unable to use Alfred Snippets in OneNote when "Restore clipboard contents" is checked. When that option is checked, the snippets do not create/expand, it only pastes the previous copied text into OneNote. When "Restore clipboard contents" is unchecked the snippets work properly. Out of all the programs I use, OneNote is the only program that displays this type of behavior with snippet expansion. I have tried multiple different settings and variations of the "simulated key event" and "Restore After" settings. If "Restore clipboard contents" is checked and applied the for either "After Auto Expansion" and or "After Snippets Veiwer or Keyword" the snippets are not created/expands, only the contents of the clipboard are pasted into OneNote. Info: Alfred 3.4.1 Build 860 Mac OS 10.12.5 OneNote Fast Build Version 15.37 (170718) Please let me know if you need any additional information or would like me try any additional troubleshooting steps.
  18. When creating a workflow using the new Snippet node, it's not possible to connect to an Inputs node if this last one is created using a secondary click on the canvas. I mean, it's working great when dragging the outlet of the Snippet node and releasing the mouse (the popup menu allow to insert an Input node and this node is automatically connected), but it's not working when we try to connect to an Input node that is already created on the canvas. Here in the attachment you can see that the inlet of the Input nodes doesn't appear while dragging the wire for connection.
  19. A lot of times when I use the snippet functionality in Chrome the first letter in the keyword stays up after the snippet expands. I've adjusted all the tweaking settings and the issue has persisted. I made sure that the Alfred helper has accessibility permissions and I have re-installed Alfred as well as Chrome. See attached GIF for the behavior. while the GIF shows it happening at the top of the text box, it also happens after I have already been typing in the middle of the paragraph.
  20. Would be great to have a keyword that brought up a box of options to choose from. For example: Keyword - email - name@gmail.com - name2@gmail.com - name.last_name@work.com
  21. I'd be very nice if there's a quick way to create new snippet.
  22. I can consistently reproduce an error when I expand a snippet then immediately execute an AppleScript workflow that manipulates the clipboard: I regularly compose business cards having all the typical information. To help expedite some repetition and reduce errors, I created a snippet and workflow to format email addresses. My defined snippet of ";e" expands to "e-mail " and my workflow is AppleScript to concatenate the first letter of the first name, entire last name, and email domain. 1. I type a person's name (e.g. "John Doe") 2. I select the name and copy it to the clipboard 3. I type the rest of the person's information 4. To enter the person's email address, I expand my snippet to get "e-mail " then execute my workflow (with a key-combo) to process the text-only clipboard and paste the result (e.g. "jdoe@abcdefg.com"). The combination yields the complete result of "e-mail jdoe@abcdefg.com" This process has worked flawlessly until the most recent update (maybe prior update?). I am currently using v3.3 [801]. My snippets have always expanded each time as expected. If I copy the name to the clipboard and process it with my workflow, the expected result is pasted. If I expand my snippet first, then process the clipboard, nothing is pasted. The debug for the workflow shows: [ERROR: action.script] 363:376: execution error: Can’t make some data into the expected type. (-1700) I can reproduce this behavior without fail. My workflow AppleScript: set convertedText to words of makeLowerCase(the clipboard) set the clipboard to text 1 thru 1 of first item of convertedText & second item of convertedText & "@abcdefg.com" tell application "System Events" keystroke "v" using {command down} end tell on makeLowerCase(theString) set UC to "ABCDEFGHIJKLMNOPQRSTUVWXYZ" set LC to "abcdefghijklmnopqrstuvwxyz" set C to characters of theString repeat with ch in C if ch is in UC then set contents of ch to item (offset of ch in UC) of LC end repeat return C as string end makeLowerCase
  23. The snippet auto-expansion doesn't work correctly in HipChat (https://www.hipchat.com). For example, if I have a snippet (thx -> thanks), it expands into 'ththanks' in HipChat. Snippet expansion works as expected in other apps.
  24. Blaz

    Snippet not exanding in iTerm2

    * What you were doing when the issue happened Nothing in particular. * Whether you were able to replicate it a second time by performing the same action Yes, the issue is reproducible. * Include any screenshots that might help us Here's a video demonstration of a snippet properly expanding in TextEdit but not in iTerm2, which has Secure Keyboard Entry disabled: I've also attached a screenshot of iTerm2 preferences. * Include the Alfred version & build number you are using Alfred 3.3 (801) * Include your OS X version macOS 10.11.6 (15G1212) iTerm2 3.0.13
  25. I have a snippet that generates a test email for me to use. It has some dynamic text inside that includes the current date and time using placeholders ex. myrandomemail{date:KKmmssaYMMMd}@testemail.com Is it possible that as soon as I use this one snippet, it copies the output to my clipboard manager?
×