Jump to content

SJ2K

Member
  • Content Count

    18
  • Joined

  • Last visited

  • Days Won

    1

SJ2K last won the day on May 31 2020

SJ2K had the most liked content!

About SJ2K

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. This workflow doesn't seem to detect AirPods as a valid output option (even though they appear in the Sound preference pane)
  2. Snippets suddenly stopped working for me too now that I updated to the Big Sur Public Beta. Same error about loginwindow. Locking/unlocking/rebooting do nothing.
  3. Out of interest - and this is probably not the right place for this question - have the Alfred creators considered offering a formal in-app curated repository of trusted and/or managed workflows with one-click installs (with the obvious disclaimer that these are third-party provided, etc)?
  4. This hint was good. It turns out that apb was somehow clashing with my third party Bluetooth mouse. After disconnecting the mouse, apb now correctly reads my AirPods battery levels, even after re-connecting my mouse. Not sure where the bug is though, as it's clearly looking for "Minor Type: Headphones" in the script.
  5. For some reason it doesn't work for me. The 0% reading for the left ear is certainly not right. Any ideas?
  6. I've been able to do this by opening the "/new" URL in the default browser, and then using AS to query the current URL of the active browser and put it on the clipboard. I can't find any way to open a URL without bringing the browser to the foreground.
  7. Yeah, that's what I thought. But nevermind, it works. Haha, that's a hack if ever I saw one.
  8. Yeah, I know a regex approach would be much nicer, wasn't sure how to get that right in Alfred. Particularly given that it's a bit trickier, as the `?pwd=(.+)` component is optional. I cheated again by replacing `https://.+/j/(\d+)(\?(pwd=(.+)))?` with `zoommtg://zoom.us/join?confno=$1&$3`. If the URL has no `?pwd` the `zoommtg` URI still ends up with a trailing `&`, but that doesn't affect anything. Is there a cleaner way in native regex/Alfred (apart from using another Replace)? Apologies, but I can't for the life of me figure out how to do inline code on this forum
  9. You're right, it was easy (this is literally one of the first workflows I've played with so I'm still not that with what Alfred can do natively). I had to use one replace after your conditional to go from "https://zoom.us/j/1234567890?pwd=aodw98da7d" to "zoommtg://zoom.us/join?confno=1234567890?pwd=aodw98da7d" and then another one to just change the "?pwd=" to "&pwd=". I currently only handle the subdomainless Zoom URLs, as I haven't come across the other ones you've got a regex for (those will simply go through the browser as normal). Not the most elegant but it does work.
  10. It closed as soon as I typed .vc, but I didn't consider trying to paste the whole command in. I didn't know it was due to the cache at the time. btw, one other potentially nice to have: if users have Zoom installed (many will, especially if they plan to be using this kind of Alfred workflow), you can auto-join the meeting in the Zoom application, without having to go through the stupid step of loading the Zoom page in your browser and then it simply launching the Zoom application from there. Just call this URI: zoommtg://zoom.us/join?confno={id}&pwd={pwd}
  11. I wasn't even able to do that, because as soon as I typed '.vc' it would crash. But I've managed to get it working now (and shouldn't be a problem for any users moving forward). Thanks again.
  12. Also not entirely sure if it's something due to my calendar set, but it takes 3 or so seconds for it to show the calendar event when I Cmd-Enter.
  13. @deanishe I cheated and removed the get_icon call for now 😜 Not sure which icons that's supposed to fetch?
  14. I like the addition of being able to show events in calendar. I'm getting the following error in the new version: video-conferences.py", line 258, in main icon=icons.get_icon(d['colour'])) KeyError: 'colour'
  15. Understood! Well, I appreciate you taking on this challenge, I think given the current number of people working from home, hopefully others will find it as useful as I think I will. I'll take a closer look at the Python sometime.
×
×
  • Create New...