Jump to content
Jake

Workflow to get next meeting location/url and open it

Recommended Posts

😰🥳🥳nope

 

[17:09:10.138] Logging Started...

[17:09:16.099] Video Conferences[Script Filter] Queuing argument '(null)'

[17:09:16.332] Video Conferences[Script Filter] Script with argv '(null)' finished

[17:09:16.337] STDERR: Video Conferences[Script Filter] .

17:09:16 workflow.py:2061 DEBUG    ---------- Video Conferences (0.0.3) ----------

17:09:16 video-conferences.py:195 DEBUG    args={'--calendar': None,

'--event': None,

'--force-reload': False,

'--help': False,

'--notify': False,

'--reload': False,

'<query>': None}

17:09:16 video-conferences.py:64 DEBUG    max_cache_age=1200

17:09:16 video-conferences.py:66 DEBUG    lookahead_days=3

17:09:16 video-conferences.py:81 DEBUG    regex=https://([a-z0-9]+\.)?zoom\.us/j/\d+\?pwd=[a-z0-9]+

17:09:16 video-conferences.py:81 DEBUG    regex=https://meet\.google\.com/[a-z-]+

17:09:16 video-conferences.py:81 DEBUG    regex=https://[a-z0-9]+\.zoom\.us/[a-z0-9_.-]+/\d+\?pwd=[a-z0-9]+

17:09:16 video-conferences.py:81 DEBUG    regex=https://meet\.lync\.com/[a-z0-9_.-]+/[a-z0-9_.-]+/[a-z0-9]+

17:09:16 workflow.py:1695 DEBUG    loading cached data: /Users/macpro/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/net.deanishe.alfred.video-conferences/events.cpickle

17:09:16 video-conferences.py:244 DEBUG    0/7 event(s) in specified accounts & calendars are video conferences

17:09:16 workflow.py:1468 DEBUG    reading settings from /Users/macpro/Library/Application Support/Alfred/Workflow Data/net.deanishe.alfred.video-conferences/settings.json

17:09:16 workflow.py:2254 DEBUG    set last run version: 0.0.3

17:09:16 workflow.py:2103 DEBUG    ---------- finished in 0.040s ----------

[17:09:16.341] Video Conferences[Script Filter] {"items": [{"valid": false, "subtitle": "", "icon": {"path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertCautionIcon.icns"}, "title": "No Video Conferences"}]}

Bildschirmfoto 2020-05-16 um 17.09.58.jpg

Share this post


Link to post
3 hours ago, tosbsas said:

😰🥳🥳nope

 

[17:09:10.138] Logging Started...

[17:09:16.099] Video Conferences[Script Filter] Queuing argument '(null)'

[17:09:16.332] Video Conferences[Script Filter] Script with argv '(null)' finished

[17:09:16.337] STDERR: Video Conferences[Script Filter] .

17:09:16 workflow.py:2061 DEBUG    ---------- Video Conferences (0.0.3) ----------

17:09:16 video-conferences.py:195 DEBUG    args={'--calendar': None,

'--event': None,

'--force-reload': False,

'--help': False,

'--notify': False,

'--reload': False,

'<query>': None}

17:09:16 video-conferences.py:64 DEBUG    max_cache_age=1200

17:09:16 video-conferences.py:66 DEBUG    lookahead_days=3

17:09:16 video-conferences.py:81 DEBUG    regex=https://([a-z0-9]+\.)?zoom\.us/j/\d+\?pwd=[a-z0-9]+

17:09:16 video-conferences.py:81 DEBUG    regex=https://meet\.google\.com/[a-z-]+

17:09:16 video-conferences.py:81 DEBUG    regex=https://[a-z0-9]+\.zoom\.us/[a-z0-9_.-]+/\d+\?pwd=[a-z0-9]+

17:09:16 video-conferences.py:81 DEBUG    regex=https://meet\.lync\.com/[a-z0-9_.-]+/[a-z0-9_.-]+/[a-z0-9]+

17:09:16 workflow.py:1695 DEBUG    loading cached data: /Users/macpro/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/net.deanishe.alfred.video-conferences/events.cpickle

17:09:16 video-conferences.py:244 DEBUG    0/7 event(s) in specified accounts & calendars are video conferences

17:09:16 workflow.py:1468 DEBUG    reading settings from /Users/macpro/Library/Application Support/Alfred/Workflow Data/net.deanishe.alfred.video-conferences/settings.json

17:09:16 workflow.py:2254 DEBUG    set last run version: 0.0.3

17:09:16 workflow.py:2103 DEBUG    ---------- finished in 0.040s ----------

[17:09:16.341] Video Conferences[Script Filter] {"items": [{"valid": false, "subtitle": "", "icon": {"path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertCautionIcon.icns"}, "title": "No Video Conferences"}]}

Bildschirmfoto 2020-05-16 um 17.09.58.jpg

 

Could you message me the format of the URL to test with?

Share this post


Link to post
2 hours ago, Terminal said:

Could you message me the format of the URL to test with?

 

To be clear, @tosbsas, the workflow will only find video conferences in your calendar if they have the event URL in them.

Share this post


Link to post
Posted (edited)

I actually do :-(( but it still says none - are you supporting only google Calendar?

 

Bildschirmfoto 2020-05-18 um 09.28.37.jpg

Bildschirmfoto 2020-05-18 um 09.34.50.jpg

Edited by tosbsas

Share this post


Link to post
2 hours ago, Terminal said:

Awesome! Checking out the regex now

 

 

@deanishe just appears your aren't capturing url's that don't require or don't embed the pwd component. I would update this regex to be

 


r"https://[a-z0-9]+\.zoom\.us/[a-z0-9_.-]+/\d+(?:\?pwd=[a-z0-9]+)?"

 

 

No, I'm not capturing URLs without the password. I figured since all the fun people had gatecrashing Zoom meetings thanks to the easily-guessable numbers, everyone would be using passwords now.

 

Apparently not… I guess I'll have update the workflow again.

Share this post


Link to post
6 hours ago, Terminal said:

@tosbsas since you can update the regex yourself,

 

1. Open Alfred Preferences

2. Click Workflows

3. Click Video Conferences

4. Click the [X] Icon

5. Edit the zoom_regex_2 and put https://[a-z0-9]+\.zoom\.us/[a-z0-9_.-]+/\d+(?:\?pwd=[a-z0-9]+)?

6. Alfred -> .vc reload

works now perfect

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...