Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by luckman212

  1. Yes @godbout opening Xcode is another reliable way to trigger this for me too. @Andrew it's most noticable on a cold start (after a fresh boot) of a "large" app like Xcode or Microsoft Excel. Another app that I can definitely repeatedly trigger this with is Setapp. I know this is a bit low-tech but I couldn't figure out another way to capture this, so I recorded a couple of seconds with my phone, so you can get an idea of what this looks like... Setapp... https://user-images.githubusercontent.com/1992842/117302537-bce67e80-ae49-11eb-859a-13400dbecc57.mov
  2. @Vero I know what you mean about newlines being treated differently by different OS'es e.g. Mac vs Windows. But if we confine it to just macOS (since we're only talking Alfred here) the definition is pretty clear: it should be 1 + the count of the "0A" hex bytes in a block of text (excluding a final trailing newline if there is one). I'm looking for the same output that would be shown by this bash script: wc -l <<< "${clipboard%$'\n'}" Not sure what page width has to do with it? I'll give you a simple use case (this happened to me yesterday which is what prompted me
  3. @giovanni Thanks but that's not the same. Having it display in the clipboard viewer gives you the ability to quickly flip through history items and see the count, vs having to place items in the clipboard first and then run a workflow.
  4. Currently, the clipboard viewer (very helpfully) shows the word and character counts: Just a suggestion: it would be useful to also display the line count here, if possible!
  5. Just wanted to post a little note on this: I discovered an option I wasn't aware of today in Alfred's Appearance > Options area: I thought maybe this would have some effect on this problem, but alas I tested it and they are both affected by the thread lock. I'm now using Alfred v4.3.4.1229
  6. Hi @Andrew - I just tested & the menubar hat goes zombie as well (other menubar icons are ok). So whatever's going on with this thread locking is across the board.
  7. I just tested it after changing the hotkey to ⌥A — same issue.
  8. Yes, other hotkeys e.g. ⌘-space or F8 (which toggles my crosshairs from PixelSnap) continue to work fine during these unresponsive times. So it's not F-keys. It's only Alfred that gets hung up for some reason.
  9. macOS 11.2.2 Alfred When hitting my main Alfred hotkey (F11) his window usually appears instantly. But, I've noticed that during certain conditions, such as shortly after launching a slow-to-open app from the Dock (Excel, Photoshop, etc) the Alfred window does not appear. Instead, it seems to hang until the foreground app is in the "ready" state. (Not sure technically what this is called, but essentially it's ready to receive input - mouse clicks, key events, etc). This can also happen if the foreground app gets busy, doing some long running task etc.
  10. @gingerbeardman Hey 👋 Happy Friday! I wasn't referring to your workflow actually. I was talking about Red Sweater's Usable Keychain Scripting (download).
  11. By Jove you've done it! Thanks again for this 🎉 P.S. to anyone else who happened to download the test workflow above, I noticed a bug in it this morning- $RANDOM is 16-bit only (0-32767) so the jibberish output only contains words beginning with the letters {a,b,c}. Pretty boring. Newer versions of Bash support $SRANDOM which is 32-bit, so changing the shebang to #!/usr/local/bin/bash and RANDOM to SRANDOM will "fix" it. Also, swapping in gnu-sed for the built in macOS sed speeds up the loop by a factor of 2 for me. Here's an updated version in
  12. Thank you @Andrew ! Yes that's going to be very useful indeed. Much appreciated. Question: will it accept "0" as the wrap parameter? (disable wrapping completely). That would be nice- in case of a very long line, it could just disappear into the right edge of the largetype boundary.
  13. Is anyone else having this problem? Sometimes I feel like this xkcd https://xkcd.com/979
  14. Thanks Vitor. I'll try to present some better info. For now, I'm experimenting with accomplishing this using Hammerspoon, seems that might be more efficient.
  15. In case anyone wants to really get nuts with fine-tuned URL scheme management, I suggest checking out Finicky. It's up on GitHub: https://github.com/johnste/finicky It lets you route URLs to different apps using rule-based logic. So you could make URLs containing *.google.com open in Chrome, and still keep Firefox as your default browser (example).
  16. I'm trying to make a universal hotkey workflow that will "un-minimize" an app's windows- the ones with those pesky diamonds next to them e.g. No matter what I've tried, it's failing to work. I spent a good 3 hrs on this today and basically got nowhere. Here's a snippet of code that (mostly) works when run from Script Editor, but it fails miserably when put inside an Alfred osascript of NSAppleScript object: tell application (path to frontmost application as text) try set miniaturized of windows to false end try try set
  17. @jdfwarrior or @vehovmar I know it's been many years... did you ever find a solution?
  18. macOS 11.2 Alfred I have some workflows that dump columnar text into LargeType. For some reason, the wrapping gets crazy sometimes. Long lines, especially ones containing many spaces end up with soft line breaks all over the place. I think pictures are worth 1000 words here, so here are a few as well as a workflow that you can download to replicate these: LargeType Odd Wrapping.alfredworkflow The workflow trigger is keyword "jibber" It generates 10 lines of random text, in 2 columns It accepts an optional parameter in the format
  19. I was troubleshooting hotkeys today and realized you can type ?hotkey into Alfred to query for hotkey triggers. Neat. BUT, the filtering seems to be based on the Title and Subtitle only (they hotkey itself is not included) so e.g. this won't work: Is it possible to query using ?hotkey for the key itself (maybe a feature request...)
  20. Alfred 4.3 (1205) - Big Sur 11.1 Title might be hard to understand, but here are quick repro steps: 1. make sure 'Show latest query if within 5 minutes' is enabled 2. call up Alfred's search window 3. type in e.g. "Utility" and highlight Disk Utility.app 4. Press ⌘C (Copy Path) result: it works, the pasteboard has '/System/Applications/Utilities/Disk Utility.app' now 5. press your Alfred hotkey again to call up his window 6. choose another result, e.g. AirPort Utility.app 7. Press ⌘C BUG: result: nothing happe
  21. @Vero Happy new year 🎉 Do you think there's any shot at this request making it to the drawing board?
  22. @vitor Thanks - no I'm not using AppleScript, I'm using osxmetadata (Python) like this: /usr/local/bin/osxmetadata --set com.apple.metadata:kMDItemFinderComment 'Alfred:ignore' "$1" Simulating keystrokes is a little clunky for my taste. Hope that there will be a more robust way to trigger this via script in the future.
  • Create New...