Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by dfay

  1. I recently migrated nearly all my snippets from TextExpander to Alfred. These include many which call AppleScripts -- in Alfred these had to be recreated as workflows with snippet triggers. The problem is that I used to use many of these snippets to generate text for use in Alfred, i.e. I'd call up Alfred, type the snippet to run the script into Alfred's window, and then run a workflow on the resulting text. When I do this with an Alfred snippet trigger, however, rather than putting its output into Alfred's window, it pastes it to the underlying app. This is consistent with the behaviour for a Copy to Clipboard action with the paste button checked, but it's not appropriate for a snippet trigger. So it's not really a bug - but it is a significant inconsistency in the behaviour of Alfred's snippets vs. Alfred's snippet triggers, and one that makes it a lot less feasible to migrate from TE. Maybe what is needed is an Allow pasting to Alfred? option in the Copy to Clipboard object?
  2. I bet if you open the enclosing snippet collection you'll find you have an affix "asana" and a suffix "add" -- those are there in case you want all snippets in the collection to begin or end with the same characters.
  3. What it says presumably - images for Alfred remote. Are you really that strapped for bandwidth and disk space that this is an issue?
  4. Icons, python libraries, etc. Lots of workflows use additional resources.
  5. I no longer have a pro (=scriptable) license for OO but their scripting support is quite robust, both Applescript and JXA.
  6. I have added a keyword to do this in Finder scripts - basically it activates Finder then calls the keystroke for iCloud Drive
  7. I have only ever used Selection in OS X to capture text....I would do this with a File Action (even though it's an extra step....) But you can do it the way you want by leaving Argument as None, then connecting it to a script action (osascript/AS) with the following AppleScript tell application "Finder" set sel to selection if sel is not {} then set filepath to item 1 of sel as text --> The path to the one selected item. open filepath using application file id "com.apple.TextEdit" -- bundle identifier of the designated application end if end tell
  8. What are you using to open it? Using a native Alfred file action doesn’t copy the file name to the clipboard.
  9. Since moving my snippets from TextExpander to Alfred, I have added a lot of snippet triggers to my workflows. However, using the snip keyword and/or the snippet viewer, the only results shown are snippets, not snippet triggers. Could we have the option to include snippet triggers in these results as well?
  10. Dynamic snippets to insert the date corresponding to the upcoming day. d.nm - next Monday d.nt - next Tuesday d.nw - next Wednesday d.nr - next Thursday d.nf - next Friday d.ns - next Saturday So given today's date 2018-07-30, the snippets in sequence produce 2018-08-06 2018-07-31 2018-08-01 2018-08-02 2018-08-03 2018-08-04 Download
  11. I was frustrated with a dynamic snippet which was only running successfully intermittently. I changed the python script to use sys.stdout.write instead of print and it now works perfectly every time.?
  12. I’d love color shading as in the first image in the original post in this thread.
  13. Did you set it to restore clipboard contents? https://www.alfredapp.com/help/features/snippets/advanced/
  14. Latest addition using HazeOver -- which works great with everything else dark: tell application "HazeOver" set enabled to false end tell
  15. No. from https://www.alfredapp.com/blog/tips-and-tricks/tutorial-importing-and-setting-up-alfred-workflows/ There's obviously a tradeoff here but I think it's better to have the user do a little bit more customisation rather than potentially overwrite their existing setup.
  16. I was just working on a workflow that looks like this snippet trigger > run script > copy to clipboard and paste I discovered that (although the Copy to Clipboard object only mentions {date} {time} & {clipboard}) I can have the script generate text containing the {cursor} snippet & Alfred will move the cursor after pasting. ?
  17. Haha it only took four years for someone to take an interest in this I've updated the link -- hope you find it useful.
  18. Actually I'm blown away by how much more powerful Alfred is than TE, thanks to the ability to use script filters in snippets.
  19. I just updated the README with more detailed directions.
  20. and I have to say how impressed I am with the snippets feature -- I hadn't looked at all the details in quite a while and there's so much that can now be done with snippet triggers etc. It was very easy to recreate all my fill-in and script driven TE snippets in Alfred.
  21. https://github.com/derickfay/import-alfred-snippets
  22. Yes this was very cool, and a use of text expansion that I had never thought of before.
  23. I spent hours marking up the graduate admissions letter from a certain university ... someone had clearly attempted unsuccessfully to recreate letterhead in a Word document ... kerning was just one of many many problems. To me, it was like telling prospective graduate students that we don’t care about attention to detail so come to our university. Painful to look at.
  • Create New...