Jump to content

dfay

Member
  • Posts

    1,054
  • Joined

  • Last visited

  • Days Won

    62

Everything posted by dfay

  1. 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.
  2. 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....
  3. 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
  4. 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.
  5. 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.
  6. you could use the technique here and add a mechanism to update the csv
  7. You can just use command-comma . Doesn’t solve the underlying problem but it will get you to the destination.
  8. 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.
  9. 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.
  10. 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.
  11. you could try https://github.com/derickfay/te-to-alfredCSV and https://github.com/derickfay/import-alfred-snippets
  12. You’re asking how to set up a specified keyword to launch a specified folder, right? That does require customisation, exactly as @vitordescribed.
  13. 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...
  14. Also here's a version to handle just the selected notes in the note sidebar: https://gist.github.com/derickfay/c4fdf55ced9da54ebbf1418b6fabb8bb
  15. 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!
  16. Are you trying to save the entire window contents or just a particular image?
  17. 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).
  18. 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.
  19. 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.
  20. Yeah that works fine. Depending on how you work using open has some other flags that may make it helpful. Notably opening apps in the background or hidden (see and the man page).
  21. The easiest way will be to use the open command in a bash script e.g. to open in Preview open -a "Preview.app" {query}
  22. Yes. Is it a fixed list of files or will it change depending on the search term?
×
×
  • Create New...