Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by dfay

  1. I've moved all my snippets from TextExpander to Alfred, and it's actually pretty easy to create the equivalent of a nested snippet using snippet triggers in a workflow . Not as simple as in TE but easy to do if you don't anticipate continuously creating a lot of new ones (which is still easy but a bit of work.) Here's an example: https://www.dropbox.com/s/xu8afkqd4hfzgn2/nested snippets.alfredworkflow?dl=0 The snippet values are stored as environment variables and the first two snippet triggers show how to use them. The third shows how to use a list filter
  2. I suspect this is unfortunately the issue: ”macOS 10.15 Catalina bans third-party applications from searching the Mail.app Spotlight index. On macOS Catalina, HoudahSpot will thus no longer be able to find your Apple Mail messages.” From https://blog.houdah.com/2019/07/is-houdahspot-optimized-for-upcoming-versions-of-macos/
  3. I don't, was just being lazy. Updated to actually parse the query rather than sticking it in a list and hoping for the best.
  4. I was focused on speed of entry hence the fixed folder. Otherwise there’s either a fourth string to include in the text or an additional entry box. By that point you might as well open preferences and do it natively. It might be possible with a file filter, though - let me look.
  5. Just figure out why you can't drag these. As hinted at (but not really explained) here the draggable area is only the border padding. Which is set to as small as possible in these - which makes them look so good imho. But it also makes them almost impossible to drag (there's actually a tiny square in the top left where you can drag...). @Andrew could you consider allowing some other theme elements to work as drag handles?
  6. These are in the environment variables for the workflow. You can set them through the GUI without editing the script - you click the [x] icon in the top right of the workflow screen, and a panel will drop down where you can set them. I believe the devs recommend against using iCloud Drive for Alfred's preferences. But in any case you should be able to go to your Alfred.alfredpreferences file location (as set up in Settings > Advanced > Syncing > Set preferences folder... ) then add /snippets/ to the end of that path.
  7. Two options (among many): 1. you can create a file action to open in a particular app so you don’t need to navigate the submenu 2. you can do it the way you describe a couple more times and Alfred should learn your default action
  8. See for the background. Snippet Creator adapted from https://github.com/derickfay/import-alfred-snippets There are two keywords, both of which result in the creation of a new snippet: sc - (single step) Required fields: name|keyword|content -- separated by | sc2 (multi step) - Enter the snippet text, then you'll be prompted for the keyword / name -- in the interest of speed and simplicity the name is set to the keyword. sc2 also has triggers to pre-population with selected text or clipboard contents set prefsPath in the env
  9. I've adapted https://github.com/derickfay/import-alfred-snippets to run from a workflow and would be happy to post it. First though, let me ask @Andrew are there any problems likely to arise from adding a .json file to "...Alfred 4/Alfred.alfredpreferences/snippets/" while Alfred is running? I haven't encountered any but it still makes me nervous to mess with the preferences of a program while it's running.
  10. See If Spark has added scripting it’s possible, but I’d be surprised given the company’s record.
  11. This is actually really nice - now that I'm used to Drafts on iOS where one starts with text and acts on it. I had ignored the thread the first time round but I need to give this a try on a regular basis. What would it take to allow execution of keywords / list filters / script filters as well? Ideally I'd like to set up a whitelist of a half dozen or so that I could use, leaving all other disabled. Frequently I'll use searches to locate a book in libraries, for example, then run a workflow to download the citation and add it to BibDesk.
  12. I'm not sure I'd like holding down a modifier key while typing keywords and arguments.
  13. I use Hazel to do this - since a DT database is a package you could just have Hazel add the tag to every file within it, I believe.
  14. Just use a one line AppleScript tell application "Finder" to print selection this will print using whatever the system default app for the file type is. Works fine for Pages for me. Or in an Alfred file action where Language is AppleScript and input is {query}: tell application "Finder" to print POSIX file "{query}"
  15. How does eject differ from the built-in eject command?
  16. You’ll need a snippet trigger and a workflow - see
  17. The answer will depend on the app - you’ll need to use Applescript & implementation is highly variable...
  18. I happened to be working on extracting some data from an .xlsx file earlier and ended up using python & openpyxl - just wondering why you used xlrd instead @deanishe. I'm sure you have a good reason & I know you know python way better than me....
  19. Regardless of file type? In any case, you can do this by creating a custom File Action. See https://www.alfredapp.com/help/workflows/triggers/file-action/ and https://www.alfredapp.com/help/workflows/triggers/file-action/
  20. You can just replace all the references in info.plist to Alfred 2 with Alfred & it will work. Except the .taglist is taking eons to complete.
  • Create New...