Jump to content

dfay

Member
  • Content Count

    822
  • Joined

  • Last visited

  • Days Won

    37

Everything posted by dfay

  1. I've been watching Brett's posts on this -- what advantage does this hold over using a Launch Apps/Files object in an Alfred workflow?
  2. dfay

    Code Case

    Hmm I think I exported from the Alfred 4 beta....and I've deleted Alfred 3 and let Hazel work its magic on related files....might be tricky to get this back.
  3. This snippet will give you today's date: {date:EEEE, MMMM d, YYYY} You can use the native snippets feature for this, you don't need a workflow. The docs are a little lacking, though ( https://www.alfredapp.com/help/features/clipboard/dynamic-placeholders/#date-time ) - I had to dig around a bit in the incomprehensible Unicode docs to figure out how to get the day of the week (EEEE). Getting the next business day is trickier. It wouldn't be hard to get tomorrow except on Fridays, then get Monday, but if you want to take into account local holidays then you'll need to pull in calendar data from somewhere.
  4. dfay

    Code Case

    Hmm it's working for me and I don't think I've ever changed anything directly - but there are a couple of workflow.old directories in there now. I think I must have updated it running fixum (https://github.com/deanishe/alfred-fixum) at one point. Maybe try and see if that fixes it? Just uploaded a 1.3 to Packal but it's not showing up....
  5. When Alfred Remote launched, I think I was on iPhone 4 with a 4 x 5 grid on the phone itself....now I'm on a 7 Plus with a 4 x 7 grid. But Alfred remote still only has a 4x4 grid. iPad has 5x4 natively (and room for lots more). Could Alfred Remote allow for different grid sizes? Also
  6. Most of these questions depend on the automation capabilities of the other apps. Creating the directory trees is pretty straightforward - here’s an example of how I do it in a mixture of Applescript and bash script info, which I have hooked up to an Alfred workflow. https://github.com/derickfay/course-creator/blob/master/Generate directories.applescript Or another approach in Note that both of these rely on the bash command mkdir to do the actual directory creation.
  7. I'm using this instead, which works fine with OF3.
  8. You can do this with snippet triggers in workflows.
  9. It only does the conversion if the json file doesn’t exist or if the modification date of the csv is newer. The files I use it with only have 80-100 entries but I haven’t noticed any performance issues when I have changed the csv.
  10. you could use the technique here and add a mechanism to update the csv
  11. You can just use command-comma . Doesn’t solve the underlying problem but it will get you to the destination.
  12. The answer to item 1 is probably, but the approach will depend on whether you want it to work everywhere in the system or just in a specific app. And whether you want to correct an entire document at it once or just act on selected text. Either way it will require some scripting and probably in a language other than AppleScript. The answer to item 2 is also probably. Some relevant forum posts: The biggest reason not to use Alfred for text expansion, I think, is that there's no iOS keyboard. I get around this by having Hazel monitor Alfred's snippets folder and automatically create a TE snippet which then syncs. Lately I've added a Hazel rule to also sync Alfred snippets to Copied b/c I was so sick of the lousy old TE (pre-subscription version) keyboard on iOS.
  13. I’ve updated the title of the older thread since in reality a lot of the discussion is about the kind of things @chris suggests, at the app rather than workflow level.
  14. This would be a great help. Even if it’s just setting command-, to open the currently active workflow (if any) in prefs rather than the general prefs screen.
  15. you could try https://github.com/derickfay/te-to-alfredCSV and https://github.com/derickfay/import-alfred-snippets
  16. You’re asking how to set up a specified keyword to launch a specified folder, right? That does require customisation, exactly as @vitordescribed.
  17. Yeah I don’t really see the point for the web view but the image results could be handy. But there would be a performance hit presumably rendering thumbnails on the fly...
  18. Also here's a version to handle just the selected notes in the note sidebar: https://gist.github.com/derickfay/c4fdf55ced9da54ebbf1418b6fabb8bb
  19. Thanks! Since I set this up, it's probably become my most used workflow....but I had actually forgotten about the rf command so I'm glad you got my attention to look at the docs again!
  20. Are you trying to save the entire window contents or just a particular image?
  21. One other note re Pacmax - the design could be tightened up a lot - there’s quite a lot of white space e.g. on every page there’s a big open area with a horizontal line and then the page title in a huge font, and only below that is the actual content. I’d also prefer one workflow per line in results, rather than needing to read down newspaper columns. And it would be nice to keep the search box in view even when you scroll down (an issue currently exacerbated by the multi column format).
  22. FWIW I quite like the idea of basing it on github (despite the fact that I haven’t actually put any finished workflows up there...primarily because they predated my use of github), for a couple of reasons: It’s separate from Pacmax, and will endure even if PM doesn’t, with all the workflows and readmes etc. still searchable It provides a bug reporting system It’s pretty close to universally accepted and is very easy to learn how to use, even if only through the web and without a git client, version control etc. one could set up Pacmax (or something else) to automatically link to everything that looks like an Alfred Workflow, but also add a manually curated / recommended list or set of categories as well. But as I suggested above, I think it would really help to have a standard recommended structure and docs for getting started, how to share source code as well as .alfredworkflow file etc. Although the actual bar to using github is quite low, it can appear more intimidating than it actually is if you’re just getting started.
  23. Presumably if any automated solution based on github is to work, there would need to be a standard for how Alfred github repos are structured.
×
×
  • Create New...