Jump to content

dfay

Member
  • Content Count

    868
  • Joined

  • Last visited

  • Days Won

    45

Everything posted by dfay

  1. That could work. I'd really like to just override the fonts in Alfred's window, like this but with fonts:
  2. With a list filter, where there's a finite, user-defined set of possible actions, it would be convenient to just hit a single key to trigger an action (by default this could be the first character in the action, with duplicate highlighting in the setup). I'm working on a replacement for the buggy, slow-to-be-updated Mail Act-On , and my muscle memory can't handle hitting return any more than I used to.
  3. I'm wondering if it would be possible in Alfred 4 to write a workflow that would call a list filter or script filter which would display the text selection in various fonts, with an action to paste the reformatted text. All of this is straightforward except changing the font. I looked briefly at the arg/var object but it doesn't allow rtf transformations at this point. I'm not really up for writing the raw rtf code to do this but wondering if there's a simpler way....
  4. Yep, that fixed it. I had never touched that setting before but had never used a 3rd party contacts app previously either.
  5. Another approach is to use BBEdit and do a multi-file Find and Replace to correct the source in all the workflows at once. I did this as it's easier for me to maintain with multiple Macs.
  6. Notes is quirky. From Alfred, I can get bold, italic and underline to stick, and bullets, but nothing else. From Ulysses, if I Copy as RTF, I can get headings (## or H2) as headings but titles (# or H1) come in as headings as well. Or, rather, Notes doesn't treat H1 as a title.
  7. No it will be in the MacOS version that launches o/a Sept 2020. Edit: oops misread what you were asking about
  8. I actually like the idea of Alfred providing runtimes but my scripting is almost exclusively in python and Applescript... Beats this
  9. This is a function of the theme but I've forgotten how to change it (and would very much like to do so!). @Andrew can you point us in the right direction?
  10. Updated to use Alfred 4 conditionals to add a snippet to produce the next business day in prose (almost as requested here):
  11. I set my URL handler to x-cardhop://show?id={uid} When I view a contact in Alfred's contact viewer, then hit ⌘O, it opens in Cardhop. However, when I have a contact in Alfred's results list, then hit ⌘O, it opens in Contacts. I'd prefer it if this would also use my custom URL handler instead.
  12. Also, here's an approach I've used to the general issue of running different per-machine configurations with the same workflow.
  13. Change the Run NSAppleScript content to on alfred_script(q) set quote to first paragraph of q set otd to AppleScript's text item delimiters set AppleScript's text item delimiters to {"(Kindle Locations ", ")"} set bits to every text item of q set pageNumber to item 3 of bits set quote to first paragraph of q return quoted form of quote & " (" & pageNumber & ")" set AppleScript's text item delimiters to otd end alfred_script That fixed it for me.
  14. FYI you can act on the selected text with the PopClip Alfred extension ... once it gets updated for Alfred 4. In the meantime, you can set up a workflow with two items: Hotkey -> Show Alfred with {query} as the argument and cursor There's no need to script the pasting or cursor movement in the workflow.
  15. This is built in to the Finder since 2011 http://osxdaily.com/2011/08/07/create-a-new-folder-containing-selected-items-in-mac-os-x-lion/
  16. You can use a show alfred workflow object for this
  17. looks like you need to rebuild launch services. those dyn utis are a sure sign.
  18. Did you transfer Alfred prefs from the old Mac? If not it’s working off Spotlight data from the new machine and I wouldn’t be surprised if Apple weights the native apps more heavily. I’d expect that after a few days of use Alfred should (re)learn your use patterns.
  19. 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?
  20. 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.
  21. 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.
×
×
  • Create New...