Jump to content

gandalfsaxe

Member
  • Posts

    103
  • Joined

  • Last visited

Everything posted by gandalfsaxe

  1. That's good. That would be an even more attractive solution, provided that the conversion is low-latency enough.
  2. Sure. It should be an option, and I don't have all the information to decide which should be the default (it could be the conservative option of keeping it as TIFF). Intuitively I just think it's inconveniencing more users at this point to be sending huge TIFFs around than the relatively small energy footprint of doing TIFF to PNG conversion (even on Intel macs).
  3. Hey Andrew, thanks for the detailed explanation. Now it makes much more sense to me. I hope you can explore some PNG conversion feature for those of us who prefer *always* PNG (and then can revert to native copy-paste function in those rare instances where a PNG is not accepted by the application). With the advent of the Apple Silicon chips in Mac, I would not be worried about the extra system load by doing image conversion of screenshots. I truly appreciate your concern for system load and performance in general, as this is surely one of the reason why Alfred is so snappy in general. That's a very good attitude! In this case I'd just vastly prefer Alfred to be converting the screenshots to PNG immediately upon saving them rather than send huge image files everywhere. I've begun to use the Alfred clipboard less for images since this discovery as it literally means the difference between an image loading in 1 second or 5 seconds in Slack in many cases etc. In any case, it was good to understand the technical background for this issue.
  4. Can you elaborate on what this means versus just pasting the screenshot directly with โŒ˜V not using Alfred? Can you give one or two application or contexts where it doesn't work as examples? What doesn't make sense about this to me is that PNG has long been the default file format for screen captures in macOS; why is this not an issue for the standard screen capture (via โ‡งโŒ˜4+control) if it's an issue for Alfred? Not saying I don't believe you btw! Just that I don't understand why this is a problem for Alfred and not for Screenshot.app if the format of PNG is the issue and the system default is PNG and have been so for years ๐Ÿค”
  5. Why is a conversion needed at all? The original screen capture is png if you paste it directly from the clipboard. Why can't Alfred just access and use this? And just store these in the history?
  6. If I take a screenshot to the clipboard (e.g. using โ‡งโŒ˜4, then taking a screenshot to the clipboard by holding control), then: 1. Paste it normally โ€”> PNG of reasonable file size. 2. Paste it via Alfred's Clipboard History โ€”> TIFF of giant file size. Why can't it just be the PNG as when you paste it directly? It's easy to reproduce by pasting via the two methods into a note in Apple Notes and then seeing the files:
  7. Ok good to know! I haven't had this issue since I changed the setting System Preferences -> General -> Prefer Tabs: [Always] (default: in full screen), which I prefer in all contexts anyways. But thanks for the tip!
  8. Ah I was on VPN before, now it's only 10s, and without thumbnails 3s. I still prefer without thumbnails though. Thanks
  9. Fair enough ๐Ÿ˜‰ I made the folder and it works now. Only caveat is that it takes a long time (30 - 120 s) every time I search for a new song, so it only really works with songs you've already searched for in practice. I'm just thinking, is it then really worth it to cache all those thumbnails? Why not just do like with artist, no thumbnails? 1) It's instant and 2) Works out of the box without need to manually create a new folder in `~/Library/Cache`
  10. I pressed "Paste" on pastebin, but then the text just vanished and I couldn't see any link. I'm not logged in. So you'll get it here. This is the output. Have just replaced my real username with [USERNAME]: ``` [01:06:16.161] Logging Started... [01:06:26.188] Search Apple Music[Script Filter] Queuing argument 'hyperballad' [01:06:28.355] Search Apple Music[Script Filter] Script with argv '(null)' finished [01:06:28.356] ERROR: Search Apple Music[Script Filter] Code 1: Traceback (most recent call last): File "song.py", line 48, in <module> filepath = os.path.join(alfred.work(True), str(e['trackId'])+".png") File "/Users/[USER]/Documents/-sync/Alfred/Alfred.alfredpreferences/workflows/user.workflow.B27FA796-BE33-4980-B971-E4C970639005/alfred.py", line 77, in work return _create(os.path.join(os.path.expanduser(path), bundleid)) File "/Users/[USER]/Documents/-sync/Alfred/Alfred.alfredpreferences/workflows/user.workflow.B27FA796-BE33-4980-B971-E4C970639005/alfred.py", line 90, in _create os.mkdir(path) OSError: [Errno 2] No such file or directory: '/Users/[USER]/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/com.gingerbeardman.alfredv3.applemusic' ```
  11. Ah my bad.. unfortunately still only artist work for me. Downloaded from https://www.gingerbeardman.com/alfred/Search Apple Music.alfredworkflow
  12. I downloaded the workflow from link https://drive.google.com/file/d/1XmXl5nq9Qn8Lvo7Zv1ESyCmaRDhyh-2u/view but I'm still seeing the same behavior. I just re-downloaded to make sure, no dice. When did you fix it? Latest change in the workflow files were April 21st 2020.
  13. Artist work for me, album and song doesn't ๐Ÿค” Any suggestions?
  14. So no easy solution in AppleScript? It would be easiest if there was a solution here because the whole workflow is already in AppleScript. The guy did mention in the issue conversion that Firefox doesn't support Apple Script but apparently he found a solution and added a bunch of other browsers when he was at it.
  15. https://github.com/AndrewC-B/alfred-open-in-chrome/issues/1 Gave this a shot, but Apple Script is too damn obscure. The author seems too busy to fix it, and I gave it a few hours myself. It's basically just a workflow that opens a browser tap in another browser. The problem is, if the user doesn't have the exact list browsers installed, that is supported in the workflow, a dialog box always comes up when invoking the workflow. If anyone here is proficient in AppleScript expert you could probably fix it in a couple of minutes PS: If anyone could also add an optional "close tab in old browser", that's be awesome.
  16. Google has recently added an extra step to "I Feel Lucky" searches so you have to press an extra button, thereby defeating the purpose of the feature. Example: Anyone got "I Feel Lucky" Google search working again, so you can do it in one step? I'm not sure there is a working workaround. But if there is now or in the future, I hope someone will share it here.
  17. I would find it useful to be able to point to external locations for Alfred snippet files, for example to be able to separate personal/work snippets, where work snippets could be available only on a work machine.
  18. Hi, I'd like to see better grid snapping of workflows. Currently they snap to a very fine grid of 10 px (I think). I don't need that granularity, and would like them to snap to a much larger grid, like on the Windows or Mac Desktop (if you enable snap to grid). Over time, I've noticed that I spend needless time on fine-aligning stuff, when I really don't need that fine granularity. As per macOS conventions, you should still be able to get the current 10x fine grid when holding down โŒ˜ or something like that.
  19. @vitor Sure. As an example, I have an snippet with: Name: Happy - Owl Keyword: !owl Snippet: โŠ™โ–ฝโŠ™ Pressing the Viewer Hotkey: It tells the keyword "!owl" in the lower right portion of the screen. If instead I invoke the "Snippet keyword" (which I've set to "s"), I get: I.e. no keyword "!owl", just the title and content of the snippet. It would be useful it this would show the keyword as well, either by default or by holding a modifier key.
  20. Hi, I sometimes forget the keyword for a snippet, but when I search for it with the snippet keyword (default is "snippet" I think), it only shows the snippet in a one-liner, not the keyword, so I never learn the keyword unless I look it up in Alfred Preferences or invoke the Snippet Viewer Hotkey. I'd love to be able to see the snippet keyword if I held in e.g. โŒ˜ key. PS: This is largely resolved by using the "Snippet Viewer Hotkey" instead of "Snippet Keyword", but I'd be nice to have both places.
  21. I just realized that I do this by adding a symlink to e.g. /Applications, and then just pointing Alfred to that. Problem solved I'll go with this solution, but if anyone happens to know the answer to my original question, feel free to leave it here for future reference ๐Ÿ˜Š
  22. Hi, Is it possible to press a specified hotkey, and then have Alfred launch/hide app1, app2 or app3 depending on whether the hostname on my current machine is machine1, machine2 or machine3? The use case would be to use the same hotkey on all my computers for opening different versions of portable Visual Studio Code.
  23. Ah I think we both spoke past each other. I always meant I wanted to invoke Alfred with only either Left Opt + Space or Right Opt + Space, not only Left Opt or Right opt. Edited for clarification.
×
×
  • Create New...