Jump to content

xgo

Member
  • Posts

    24
  • Joined

  • Last visited

Everything posted by xgo

  1. Thanks for sharing! This is great I added this customization on my own version to have a cmd modifier and allow to open the HN discussion instead of the article news, for follow up. const items = { title: response.title, subtitle: [response.id, response.by, response.score].join(", "), arg: 'url' in response? response.url: HACKERNEWS_URL + response.id, mods: { cmd: { valid: true, arg: HACKERNEWS_URL + response.id, subtitle: 'Open HN link; ID = ' + response.id } } };
  2. This is great! I was not even aware that Mac OS was shipping a speedtest equivalent. Thanks for sharing
  3. Adding my "I looked into it" +1 - there's some PowerAutomate automations that can be run in the cloud that can generate sharing links but those don't really map well to macOS's finder integration of OneDrive localized files. Microsoft is doing a lot of changes to OneDrive for mac right now (with their migration to Files On-Demand) so I'm guessing any flexible and stable API implementation that can be run locally through Alfred would be a long ways away.
  4. It's great to learn about built-in features, I've been using the 'in' keyword a lot but having to scroll a lot historically. This thread opened my eyes on the ability to create subscoped search instances within specific directories I care about (e.g. OneDrive). Thanks!
  5. A solution I have found for this (does not involve Alfred, but could be scripted to do so) is to map a global keyboard shortcut to "send <mute shortcut> to <app>". Using BetterTouchTool, this is pretty straightforward and works really well (and globally). For me, I have this mapped to a special F key on my keyboard, and I use MS Teams:
  6. Thanks for linking these requests; I tried searching for what I was thinking about but wasn't lucky in my query terms.
  7. Microsoft's OneDrive recently changed their sync location, now making this obligatory through a user's library vs. directly in a home directory: Inside the new Files On-Demand Experience on macOS The new path to "get started" in OneDrive's personal directory is: ~/Library/CloudStorage/OneDrive-Personal Even worse, for corporate synched shared libraries, ~/CloudStorage/OneDrive-SharedLibraries-<CompanyName> These paths are super long and prevent to see the "meat" of paths when searching for files in Alfred: It would be great to be able to set an alias or shortcut in the returned path to abstract that absolute "start point" of ~/Library/CloudStorage to allow for more visibility into the relevant path information for the search results. For example, an Alfred setting that replaces a user-configurable path (e.g."~/CloudStorage/OneDrive-SharedLibraries-<CompanyName>") with a user configurable text (e.g. "Sharepoint Shared"). This would not modify actions like 'copy path' but simply the navigation through files. Another potential solution to this problem would be to have a setting or a keyboard modifier to switch from showing "start of path" to "end of path" while displaying Alfred file search results ie. instead of ~/Library/CloudStorage/OneDrive-SharedLibraries-<CompanyName>/Folder1/... (last part can't be seen) show (first part is hidden) .../Folder1/<Rest of path>
  8. I have a lot of static data structures at work that I often need to refer to. One of which is a hierarchy (similar to a file tree) that I have in spreadsheet form. High level abstraction: I'd like to use Alfred to fuzzy search anywhere along that tree and get the capacity to navigate up or down, similar to File Search's navigation mode. Mostly to get the information, maybe copy the final path. Eg. Search for Release2, navigate one level down, select Attribute4 and copy the full path (Product1>Release2>Attribute4) to clipboard. I'm first trying to see if there's an easy way to do this "out there" or a recommend path for implementing this - before I start using the few tools I have and do something inefficient and inelegant. Is Alfred set up in a good way to take action on relatively simple data sets?
  9. Intriguing! Solving a need I didn't know I had, will check it out, thanks for sharing!
  10. @Mingwei sorry for the delay - this version works perfect for me. Thanks so much, loving this!
  11. @Mingwei thanks for the quick turnaround. Can confirm that 1.0.2 works as expected. If I trump it back with latest (w/ blocklist feature) I get back into the problems. Here's the output from my -af call - it's probably a decent test case since I have so many things connected to my work laptop (monitor w/ speakers, USB speakers, Jabra headset) {"name": "USB2.0 Device", "type": "input", "id": "95", "uid": "AppleUSBAudioEngine:Generic:USB2.0 Device:20170726905959:2"} {"name": "ThinkPad Thunderbolt 3 Dock USB Audio", "type": "input", "id": "86", "uid": "AppleUSBAudioEngine:Lenovo:ThinkPad Thunderbolt 3 Dock USB Audio:000000000000:1"} {"name": "Jabra Link 370", "type": "input", "id": "111", "uid": "AppleUSBAudioEngine:Unknown Manufacturer:Jabra Link 370:70BF9247FC7A:2"} {"name": "Logitech BRIO", "type": "input", "id": "103", "uid": "AppleUSBAudioEngine:Unknown Manufacturer:Logitech BRIO:A34C02B9:4"} {"name": "MacBook Pro Microphone", "type": "input", "id": "81", "uid": "BuiltInMicrophoneDevice"} {"name": "PHL 346B1C", "type": "output", "id": "115", "uid": "AppleGFXHDAEngineOutputDP:f803:0:{0C41-093E-000070EB}"} {"name": "USB2.0 Device", "type": "output", "id": "99", "uid": "AppleUSBAudioEngine:Generic:USB2.0 Device:20170726905959:1"} {"name": "ThinkPad Thunderbolt 3 Dock USB Audio", "type": "output", "id": "90", "uid": "AppleUSBAudioEngine:Lenovo:ThinkPad Thunderbolt 3 Dock USB Audio:000000000000:2"} {"name": "Jabra Link 370", "type": "output", "id": "107", "uid": "AppleUSBAudioEngine:Unknown Manufacturer:Jabra Link 370:70BF9247FC7A:1"} {"name": "MacBook Pro Speakers", "type": "output", "id": "74", "uid": "BuiltInSpeakerDevice"} By the way, Github release says 1.1.0 but Alfred lists as 1.0.3 - might be worth aligning those! Lastly, switchaudio doesn't seem to support airplay outputs, but there's been a few discussions on how to enable it, even on another Alfred workflow. I personally would not use this, but might be worth keeping in a backlog https://github.com/deweller/switchaudio-osx/issues/9
  12. This looks super useful, I just found myself needing a workflow like this and thought of your recent post and installed. I do have switchaudio installed (today, v1.1.0 for Monterey) and this workflow "disappears" a split second after the Loading prompt appear. Debugging shows an empty error without much context - any thoughts? See screenshot of the erroring Script Filter: I tried looking into the sound_filter cpp source but I have no clue what I'm doing and can't get anything to compile.
  13. This looked like an interesting workflow and I tried installing and got a very similar error - no quickview lookup when typing a formula, nothing concrete coming out of Alfred debugger, but an actual crash log for AsciiMathRenderer every time its called. Very similar error log, pasting screencap of top section for context
  14. I love this, thanks so much for sharing. I've been having issues trying to copy-and-match style hyperlinks in the right font (i.e. not Calibri) in Outlook with hyperlinks on my clipboard, and this is accelerating my workaround of manually editing the hyperlink.
  15. can you access ffprobe or ffmpeg from terminal normally? I remember running into this a while back, but it's not a workflow issue mostly a way that the library isn't able to being loaded. Was getting a similar error from terminal under a default session. might be a full homebrew issue: https://stackoverflow.com/questions/50657490/ffmpeg-macos-install-reason-image-not-found/50657591
  16. I just experienced a crash (so rare these days) on Big Sur 11.2 (20D64), and upon restarting Alfred could not launch without 'not responding' in Activity Monitor. Spotlight was also not able to display results. Thanks for this suggestion, I ended up similarly solving through 1. force quitting Alfred (through Activity Monitor) 2. change some of the Spotlight 'privacy' settings (I removed a folder I had recently added to the list of 'things I don't want Alfred to index') 3. wait for Spotlight to finish re-indexing (i.e. wait until Spotlight actually returns results) 4. launch Alfred. Things work
  17. I get this error when attempting to use sf > login My guess is my company's sfdc admin is not allowing local connections through OAUTH, which is a shame. I'm escalating internally but wanted to at least write this down in the thread in case anyone else receives similar errors. Workaround is a 'dumb' search not through alfred by leveraging another SFDC worflow:
  18. Interesting workaround. Are the blacked out options your meeting 'names' that you can use alfred to parse? I have installed Meeter (https://trymeeter.com/) and it works perfectly - my hotkey just makes me join whatever meeting I have at the moment, directly in Teams (the prompt asking about devices and 'click to join'). I've seen a few conflicts with all day events 'hiding' normal meetings, but for 90% of my usecases it works well.
  19. see my post edit; appears we basically posted at the same time. I think what I'm looking for is 'mid-string' matching. E.g. "Colombia", "lomb", "Ec", "uador" would all match to "1906 Ecuador–Colombia earthquake" edit: ahh Colombia, yes. same issue!
  20. I spent about 2 days a few months back creating effectively a (crappier) version of this to search databases of my company's part numbers and attributes, as that saves me >1min every time I need to find anything. That was before discovering this workflow, which could have saved me so much time! One note: the Packal version is not the latest (0.2.2 vs. GitHub's 0.3.2). This confused me when I was reading this thread about 'MATCH' after downloading the workflow from Packal. One question, and I will look into it and try to answer it myself. The search/matching doesn't work on words that are following a "-". For example, if I search for 'Columbia' (edit) 'Colombia' in the earthquake demo, the workflow doesn't return the "1906 Ecuador–Colombia earthquake" item. Only if I search for Ecuador will it show up. I think this has to do with the MATCH format, I'll read into it and edit my post if I find the answer edit: it's not just dash, it's basically any matching that isn't from the start of the word. The workflow I initially leveraged to create my custom solution was deanishe's Excel Demo, which leverages fuzzy matching and that just works out of the box. I am not sure if there's an easy way to set up that kind of midstring matching with the format. My usecase would require e.g. for me to type "cuad" and Alfred to return "1906 Ecuador–Colombia earthquake"
  21. I'm bumping this because I had this exact same thought yesterday and started thinking about implementation options. Amazing to see this has been done before e.g. in Chrome, all PDFs that I want to download have a save prompt with default location "downloads" – using this shortcut I can now easily download into the needed directory without having to open a finder window and drag-and-drop its icon into the save prompt. "sheet" trigger works flawlessly. 6y thanks, @Tyler Eich! EDIT: sometimes I seem to get a double entry i.e. the filepath is entered in the cmd-shift-g prompt then entered as file name then saved immediately. I bruteforce fixed this by adding a slight delay before the 'return' key is captured tell sheet 1 keystroke parentFolder delay 0.1 keystroke return end tell
  22. Oh wow this has been on my mind a long time now. Not sure how easy this would be, being an electron app, but if it's doable I'm a solid solid +1!
  23. I just started leveraging file actions more seriously (a lot of value in using 'move to' on selected files using a hotkey). I am irked by the constant notifications showing me moved files: Now, I do have some notifications that I need (or leverage for debug) in some custom workflows, so the solution isn't as easy as 'just disable notifications entirely' as suggested/solved here. Is there any way to implement a customization of notification per category? For instance, I'd like to remove all file action notifications, but retain OS-level notifs for workflows installed. Thanks, Xavier
  24. This is very cool and pretty simple, thanks for sharing!
×
×
  • Create New...