Jump to content

gandalfsaxe

Member
  • Posts

    103
  • Joined

  • Last visited

Recent Profile Visitors

2,286 profile views

gandalfsaxe's Achievements

Member

Member (4/5)

11

Reputation

  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.
×
×
  • Create New...