Jump to content

jxxst

Member
  • Posts

    10
  • Joined

  • Last visited

Everything posted by jxxst

  1. Thanks for the pointers! I didn't think about that and thought the swift shebang would be enough. I now tried running it as external script, added it to the workflow folder and called it as external script (./calendar-availability.swift). It reads the file into the text area so the location is correct. Running the workflow now gives a "Unable to run task! Reason: Couldn't posix_spawn: error 1" error, unfortunately. Swift (version 5..) is at the correct path and matches the shebang in the file: ➜ ~ which swift /usr/bin/swift Also I applied chmod +x on the entire workflow directory, which would still give me the error. At least we're making a bit of progress and I learned something! 🙂 EDIT - the working version: In the end I'm able to run the script successfully by calling the script within the workflow directory from using Run Script > /bin/zsh/ directly from shell instead of the external script option. Everything working so far. Now I just need to find a way to refactor the script to 1) support multiple days lookahead and 2) exclude weekends as just changing the numbers didn't work. 👍 Script: #!/bin/zsh swift ./calendar-availability.swift Output: [16:22:30.472] STDERR: Swift Test[Run Script] 2022-03-10 16:22:30.202 swift-frontend[22343:244193] XXX: countOfStores: 1, countOfAccounts: 1 [16:22:30.488] Swift Test[Run Script] Processing complete [16:22:30.490] Swift Test[Run Script] Passing output 'Copied availability ' to Post Notification
  2. Hi all, I've been looking for ages for a workflow that helps me to paste my next available calendar slots for the next X days. I've come across a ton of workflows / options after thorough research (see below) but neither one of them are working 100%. Could anyone point me in the right direction on the options below? 1) Existing Alfred workflow: Calendar Availability This fit exactly my needs but seems not maintained / updated anymore - except one missing feature: it doesn't support recurring events and also pulls the calendar events still from the sqlite cache. 2) Swift script using EventKit (needs adaptions to support a bigger lookahead window I found a Swift shell script using EventKit and AppKit in this blog post. I'm trying to directly call the swift script (Github) from Raycast but it fails. I checked all the path variables and i'm using zsh as shell. Unfortunately I got stuck here. This script gives only availability for today and doesn't support the next X days, but it seems easy to refactor. Any thoughts why this wouldn't work right out of the box? Code: #!/usr/bin/swift // Required parameters: // @raycast.schemaVersion 1 // @raycast.title Copy Availability // @raycast.mode silent // @raycast.packageName System // // Optional parameters: // @raycast.icon 📅 // // Documentation: // @raycast.description Copies the calendar availability of today. import AppKit import EventKit // MARK: - Main let now = Date() let startOfToday = Calendar.current.startOfDay(for: now) let endOfToday = Calendar.current.date(byAdding: .day, value: 1, to: startOfToday)! let eventStore = EKEventStore() let predicate = eventStore.predicateForEvents(withStart: startOfToday, end: endOfToday, calendars: nil) let eventsOfToday = eventStore.events(matching: predicate).filter { !$0.isAllDay } let availability: String if eventsOfToday.isEmpty { availability = "I'm available the full day." } else if eventsOfToday.allSatisfy({ $0.endDate.isAfternoon }) { availability = "I'm available in the morning." } else if eventsOfToday.allSatisfy({ $0.endDate.isMorning }) { availability = "I'm available in the afternoon." } else { let busyTimes = eventsOfToday.map { $0.startDate...$0.endDate } let availableTimes = getAvailableTimesForToday(excluding: busyTimes) let prettyPrintedAvailableTimes = availableTimes .map { (from: DateFormatter.shortTime.string(from: $0.lowerBound), to: DateFormatter.shortTime.string(from: $0.upperBound)) } .map { "- \($0.from) - \($0.to)" } .joined(separator: "\n") availability = "Here's my availability for today:\n\(prettyPrintedAvailableTimes)" } copy(availability) print("Copied availability") // MARK: - Convenience extension DateFormatter { static var shortTime: DateFormatter { let dateFormatter = DateFormatter() dateFormatter.dateStyle = .none dateFormatter.timeStyle = .short return dateFormatter } } extension Date { var isMorning: Bool { Calendar.current.component(.hour, from: self) <= 11 } var isAfternoon: Bool { Calendar.current.component(.hour, from: self) >= 12 } } func getAvailableTimesForToday(excluding excludedTimes: [ClosedRange<Date>]) -> [ClosedRange<Date>] { let startOfWorkDay = Calendar.current.date(bySettingHour: 9, minute: 0, second: 0, of: startOfToday)! let endOfWorkDay = Calendar.current.date(bySettingHour: 17, minute: 0, second: 0, of: startOfToday)! let workDay = startOfWorkDay...endOfWorkDay let busyTimes = [startOfToday...startOfWorkDay] + excludedTimes + [endOfWorkDay...endOfToday] var previousBusyTime = busyTimes.first var availableTimes = [ClosedRange<Date>]() for time in busyTimes { if let previousEnd = previousBusyTime?.upperBound, previousEnd < time.lowerBound { var newAvailability = previousEnd...time.lowerBound if let lastAvailability = availableTimes.last, newAvailability.overlaps(lastAvailability) { newAvailability = newAvailability.clamped(to: lastAvailability).clamped(to: workDay) availableTimes.insert(newAvailability, at: availableTimes.count - 1) } else { newAvailability = newAvailability.clamped(to: workDay) availableTimes.append(newAvailability) } } previousBusyTime = time } return availableTimes } func copy(_ string: String) { NSPasteboard.general.declareTypes([NSPasteboard.PasteboardType.string], owner: nil) NSPasteboard.general.setString(string, forType: NSPasteboard.PasteboardType.string) } Alfred log: [13:52:22.059] Swift Test[Keyword] Processing complete [13:52:22.060] Swift Test[Keyword] Passing output '' to Run Script [13:52:22.070] ERROR: Swift Test[Run Script] zsh:27: parse error near `}' 3) Updating Calendar Avail workflow Last option I tried to get to work is to combine the existing but dated Calendar Availability workflow with the amazing work of @deanishe 's Video Conference workflow and replacing the SQlite part (as it doesn't support recurring events) of retrieving the events by the more recent EventKit in swift (using CalendarEvents.scpt from the video conference workflow). However, I got stuck here too unfortunately as I don't know how to build the package/workflow. 4) iOS / MacOS Shortcut apps Then, the last option was to look into different Shortcut apps (see one here) which I could then trigger from Alfred. However, this is not ideal as I prefer a script and most workflows support also only one calendar. 5) Then there's a Non-alfred option / chrome extension: - Available: Calendar Availability Chrome Extension; this one looks OK but rather not give permissions to non-established extensions and prefer Alfred. So these are all the existing options I found but none of them are either recent or fulfill my needs. Is there anyone that could point me in the right direction for a working workflow? Hugely appreciated! Requirements are quite simple: - supporting recurring events seen as unavailable - supporting multiple calendars (I have my work calendar, a shared family calendar and my personal calendar - support 24h format, working hours and flexbility with all day events - prefer an alfred workflow rather than another tool (calendly, keyboard meastro, etc) - only desktop support is ok for now - paste my next available calendar slots to clipboard
  3. As I moved away from Evernote, I'm now keeping all my files/attachments/searchable pdfs in iCloud Drive and I'm using Notes as my main note taking app. I'm very keen with my current setup and this workflow is tremendously helpful - literally a godsend! - after the new Evernote apps broke my entire workflow (neither the Alfred extension nor spotlight worked anymore to search/action notes). I have one question regarding this workflow - how could I modify it to have the note open in a separate window after the search - without the sidebar? It currently opens the note in the "list view" and I have to double-click on the note to open it in a separate window. Any way to setup another modifier key (e.g. using ⌘+Enter after searching) so it opens directly the specific note?
  4. Confirmed that this is working. So great! Thank you. 🥳
  5. Hi, here are some snippets from the results that contain the start/end_date keys: -47D1-A1A4-622CA02AFBAD\",\"start_date\":\"2020-11-24T12:00:00Z\",\"end_date\":\"2020-11-24T13:00:00Z\",\"colour\": -A1A4-622CA02AFBAD\",\"start_date\":\"2020-11-25T08:30:00Z\",\"end_date\":\"2020-11-25T09:30:00Z\",\"colour\": -47D1-A1A4-622CA02AFBAD\",\"start_date\":\"2020-11-25T09:30:00Z\",\"end_date\":\"2020-11-25T10:00:00Z\",\"colour\":[0.9959999918937683,0.7649999856948853,0.03500000014901161,1]},{\"uid\":\"387C19A Thanks for helping investigate!
  6. 17:19:39 workflow.py:2080 ERROR time data '2020-11-18T08:' does not match format '%Y-%m-%dT%H:%M:%S' Traceback (most recent call last): File "/Users/[MY_USER_FOLDER]/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.DAF8E937-5E2D-41A2-B19C-74C900DB585F/workflow/workflow.py", line 2073, in run func(self) File "/Users/[MY_USER_FOLDER]/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.DAF8E937-5E2D-41A2-B19C-74C900DB585F/video-conferences.py", line 205, in main return do_reload(args['--notify']) File "/Users/[MY_USER_FOLDER]/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.DAF8E937-5E2D-41A2-B19C-74C900DB585F/video-conferences.py", line 162, in do_reload data = load_events() File "/Users/[MY_USER_FOLDER]/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.DAF8E937-5E2D-41A2-B19C-74C900DB585F/video-conferences.py", line 112, in load_events event['start_date'] = parse_date(event['start_date']) File "/Users/[MY_USER_FOLDER]/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.DAF8E937-5E2D-41A2-B19C-74C900DB585F/video-conferences.py", line 98, in parse_date return datetime.strptime(s[:-6], '%Y-%m-%dT%H:%M:%S') File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/_strptime.py", line 332, in _strptime (data_string, format)) ValueError: time data '2020-11-18T08:' does not match format '%Y-%m-%dT%H:%M:%S' 17:19:42 workflow.py:2080 ERROR time data '2020-11-18T08:' does not match format '%Y-%m-%dT%H:%M:%S' Traceback (most recent call last): File "/Users/[MY_USER_FOLDER]/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.DAF8E937-5E2D-41A2-B19C-74C900DB585F/workflow/workflow.py", line 2073, in run func(self) File "/Users/[MY_USER_FOLDER]/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.DAF8E937-5E2D-41A2-B19C-74C900DB585F/video-conferences.py", line 205, in main return do_reload(args['--notify']) File "/Users/[MY_USER_FOLDER]/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.DAF8E937-5E2D-41A2-B19C-74C900DB585F/video-conferences.py", line 162, in do_reload data = load_events() File "/Users/[MY_USER_FOLDER]/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.DAF8E937-5E2D-41A2-B19C-74C900DB585F/video-conferences.py", line 112, in load_events event['start_date'] = parse_date(event['start_date']) File "/Users/[MY_USER_FOLDER]/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.DAF8E937-5E2D-41A2-B19C-74C900DB585F/video-conferences.py", line 98, in parse_date return datetime.strptime(s[:-6], '%Y-%m-%dT%H:%M:%S') File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/_strptime.py", line 332, in _strptime (data_string, format)) ValueError: time data '2020-11-18T08:' does not match format '%Y-%m-%dT%H:%M:%S' 17:19:46 workflow.py:2080 ERROR time data '2020-11-18T08:' does not match format '%Y-%m-%dT%H:%M:%S' Traceback (most recent call last): File "/Users/[MY_USER_FOLDER]/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.DAF8E937-5E2D-41A2-B19C-74C900DB585F/workflow/workflow.py", line 2073, in run func(self) File "/Users/[MY_USER_FOLDER]/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.DAF8E937-5E2D-41A2-B19C-74C900DB585F/video-conferences.py", line 205, in main return do_reload(args['--notify']) File "/Users/[MY_USER_FOLDER]/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.DAF8E937-5E2D-41A2-B19C-74C900DB585F/video-conferences.py", line 162, in do_reload data = load_events() File "/Users/[MY_USER_FOLDER]/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.DAF8E937-5E2D-41A2-B19C-74C900DB585F/video-conferences.py", line 112, in load_events event['start_date'] = parse_date(event['start_date']) File "/Users/[MY_USER_FOLDER]/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.DAF8E937-5E2D-41A2-B19C-74C900DB585F/video-conferences.py", line 98, in parse_date return datetime.strptime(s[:-6], '%Y-%m-%dT%H:%M:%S') File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/_strptime.py", line 332, in _strptime (data_string, format)) ValueError: time data '2020-11-18T08:' does not match format '%Y-%m-%dT%H:%M:%S' 17:19:49 workflow.py:2080 ERROR time data '2020-11-18T08:' does not match format '%Y-%m-%dT%H:%M:%S' Traceback (most recent call last): File "/Users/[MY_USER_FOLDER]/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.DAF8E937-5E2D-41A2-B19C-74C900DB585F/workflow/workflow.py", line 2073, in run func(self) File "/Users/[MY_USER_FOLDER]/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.DAF8E937-5E2D-41A2-B19C-74C900DB585F/video-conferences.py", line 205, in main return do_reload(args['--notify']) File "/Users/[MY_USER_FOLDER]/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.DAF8E937-5E2D-41A2-B19C-74C900DB585F/video-conferences.py", line 162, in do_reload data = load_events() File "/Users/[MY_USER_FOLDER]/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.DAF8E937-5E2D-41A2-B19C-74C900DB585F/video-conferences.py", line 112, in load_events event['start_date'] = parse_date(event['start_date']) File "/Users/[MY_USER_FOLDER]/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.DAF8E937-5E2D-41A2-B19C-74C900DB585F/video-conferences.py", line 98, in parse_date return datetime.strptime(s[:-6], '%Y-%m-%dT%H:%M:%S') File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/_strptime.py", line 332, in _strptime (data_string, format)) ValueError: time data '2020-11-18T08:' does not match format '%Y-%m-%dT%H:%M:%S' Here is it. This seems more useful! Also reinstalled (without migrating setting) the Workflow. I've notices I don't have a calendar named "Default" - not sure if that gives a clue. Adding the variables for my existing calendar didn't change anything (after `reload`). Thanks a lot!
  7. [16:28:02.647] Logging Started... [16:28:17.654] Video Conferences[Script Filter] Queuing argument '(null)' [16:28:17.991] Video Conferences[Script Filter] Script with argv '(null)' finished [16:28:17.995] STDERR: Video Conferences[Script Filter] . 16:28:17 workflow.py:2061 DEBUG ---------- Video Conferences (0.1.1) ---------- 16:28:17 video-conferences.py:196 DEBUG args={'--calendar': None, '--event': None, '--force-reload': False, '--help': False, '--notify': False, '--reload': False, '<query>': None} 16:28:17 video-conferences.py:65 DEBUG max_cache_age=300 16:28:17 video-conferences.py:67 DEBUG lookahead_days=3 16:28:17 video-conferences.py:82 DEBUG regex=https://([a-z0-9]+\.)?zoom\.us/j/\d+(\?pwd=[a-z0-9]+)? 16:28:17 video-conferences.py:82 DEBUG regex=https://meet\.google\.com/[a-z-]+ 16:28:17 video-conferences.py:82 DEBUG regex=https://[a-z0-9]+\.zoom\.us/[a-z0-9_.-]+/\d+\?pwd=[a-z0-9]+ 16:28:17 video-conferences.py:76 DEBUG calendar='Default' 16:28:17 video-conferences.py:82 DEBUG regex=https://meet\.lync\.com/[a-z0-9_.-]+/[a-z0-9_.-]+/[a-z0-9]+ 16:28:17 background.py:233 DEBUG [reload] command cached: /Users/[MY_USER_FOLDER]/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/net.deanishe.alfred.video-conferences/reload.argcache 16:28:17 background.py:237 DEBUG [reload] passing job to background runner: [u'/usr/bin/python', '/Users/[MY_USER_FOLDER]/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.DAF8E937-5E2D-41A2-B19C-74C900DB585F/workflow/background.pyc', 'reload'] . 16:28:17 workflow.py:2061 DEBUG ---------- Video Conferences (0.1.1) ---------- 16:28:17 background.py:243 DEBUG [reload] background job started 16:28:17 workflow.py:1468 DEBUG reading settings from /Users/[MY_USER_FOLDER]/Library/Application Support/Alfred/Workflow Data/net.deanishe.alfred.video-conferences/settings.json 16:28:17 workflow.py:2254 DEBUG set last run version: 0.1.1 16:28:17 workflow.py:2103 DEBUG ---------- finished in 0.150s ---------- [16:28:17.998] Video Conferences[Script Filter] {"items": [{"valid": false, "subtitle": "Results should appear momentarily", "icon": {"path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/ToolbarInfo.icns"}, "title": "Loading Events\u2026"}], "rerun": 0.2} [16:28:18.195] Video Conferences[Script Filter] Queuing argument '(null)' [16:28:18.337] Video Conferences[Script Filter] Script with argv '(null)' finished [16:28:18.347] STDERR: Video Conferences[Script Filter] . 16:28:18 workflow.py:2061 DEBUG ---------- Video Conferences (0.1.1) ---------- 16:28:18 video-conferences.py:196 DEBUG args={'--calendar': None, '--event': None, '--force-reload': False, '--help': False, '--notify': False, '--reload': False, '<query>': None} 16:28:18 video-conferences.py:65 DEBUG max_cache_age=300 16:28:18 video-conferences.py:67 DEBUG lookahead_days=3 16:28:18 video-conferences.py:82 DEBUG regex=https://([a-z0-9]+\.)?zoom\.us/j/\d+(\?pwd=[a-z0-9]+)? 16:28:18 video-conferences.py:82 DEBUG regex=https://meet\.google\.com/[a-z-]+ 16:28:18 video-conferences.py:82 DEBUG regex=https://[a-z0-9]+\.zoom\.us/[a-z0-9_.-]+/\d+\?pwd=[a-z0-9]+ 16:28:18 video-conferences.py:76 DEBUG calendar='Default' 16:28:18 video-conferences.py:82 DEBUG regex=https://meet\.lync\.com/[a-z0-9_.-]+/[a-z0-9_.-]+/[a-z0-9]+ 16:28:18 workflow.py:1468 DEBUG reading settings from /Users/[MY_USER_FOLDER]/Library/Application Support/Alfred/Workflow Data/net.deanishe.alfred.video-conferences/settings.json 16:28:18 workflow.py:2254 DEBUG set last run version: 0.1.1 16:28:18 workflow.py:2103 DEBUG ---------- finished in 0.032s ---------- [16:28:18.349] Video Conferences[Script Filter] {"items": [{"valid": false, "subtitle": "Results should appear momentarily", "icon": {"path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/ToolbarInfo.icns"}, "title": "Loading Events\u2026"}], "rerun": 0.2} [16:28:18.541] Video Conferences[Script Filter] Queuing argument '(null)' [16:28:18.732] Video Conferences[Script Filter] Script with argv '(null)' finished [16:28:18.747] STDERR: Video Conferences[Script Filter] . 16:28:18 workflow.py:2061 DEBUG ---------- Video Conferences (0.1.1) ---------- 16:28:18 video-conferences.py:196 DEBUG args={'--calendar': None, '--event': None, '--force-reload': False, '--help': False, '--notify': False, '--reload': False, '<query>': None} 16:28:18 video-conferences.py:65 DEBUG max_cache_age=300 16:28:18 video-conferences.py:67 DEBUG lookahead_days=3 16:28:18 video-conferences.py:82 DEBUG regex=https://([a-z0-9]+\.)?zoom\.us/j/\d+(\?pwd=[a-z0-9]+)? 16:28:18 video-conferences.py:82 DEBUG regex=https://meet\.google\.com/[a-z-]+ 16:28:18 video-conferences.py:82 DEBUG regex=https://[a-z0-9]+\.zoom\.us/[a-z0-9_.-]+/\d+\?pwd=[a-z0-9]+ 16:28:18 video-conferences.py:76 DEBUG calendar='Default' 16:28:18 video-conferences.py:82 DEBUG regex=https://meet\.lync\.com/[a-z0-9_.-]+/[a-z0-9_.-]+/[a-z0-9]+ 16:28:18 workflow.py:1468 DEBUG reading settings from /Users/[MY_USER_FOLDER]/Library/Application Support/Alfred/Workflow Data/net.deanishe.alfred.video-conferences/settings.json 16:28:18 workflow.py:2254 DEBUG set last run version: 0.1.1 16:28:18 workflow.py:2103 DEBUG ---------- finished in 0.032s ---------- [16:28:18.749] Video Conferences[Script Filter] {"items": [{"valid": false, "subtitle": "Results should appear momentarily", "icon": {"path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/ToolbarInfo.icns"}, "title": "Loading Events\u2026"}], "rerun": 0.2} [16:28:18.934] Video Conferences[Script Filter] Queuing argument '(null)' [16:28:19.092] Video Conferences[Script Filter] Script with argv '(null)' finished [16:28:19.103] STDERR: Video Conferences[Script Filter] . 16:28:19 workflow.py:2061 DEBUG ---------- Video Conferences (0.1.1) ---------- 16:28:19 video-conferences.py:196 DEBUG args={'--calendar': None, '--event': None, '--force-reload': False, '--help': False, '--notify': False, '--reload': False, '<query>': None} 16:28:19 video-conferences.py:65 DEBUG max_cache_age=300 16:28:19 video-conferences.py:67 DEBUG lookahead_days=3 16:28:19 video-conferences.py:82 DEBUG regex=https://([a-z0-9]+\.)?zoom\.us/j/\d+(\?pwd=[a-z0-9]+)? 16:28:19 video-conferences.py:82 DEBUG regex=https://meet\.google\.com/[a-z-]+ 16:28:19 video-conferences.py:82 DEBUG regex=https://[a-z0-9]+\.zoom\.us/[a-z0-9_.-]+/\d+\?pwd=[a-z0-9]+ 16:28:19 video-conferences.py:76 DEBUG calendar='Default' 16:28:19 video-conferences.py:82 DEBUG regex=https://meet\.lync\.com/[a-z0-9_.-]+/[a-z0-9_.-]+/[a-z0-9]+ 16:28:19 workflow.py:1468 DEBUG reading settings from /Users/[MY_USER_FOLDER]/Library/Application Support/Alfred/Workflow Data/net.deanishe.alfred.video-conferences/settings.json 16:28:19 workflow.py:2254 DEBUG set last run version: 0.1.1 16:28:19 workflow.py:2103 DEBUG ---------- finished in 0.037s ---------- [16:28:19.105] Video Conferences[Script Filter] {"items": [{"valid": false, "subtitle": "Results should appear momentarily", "icon": {"path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/ToolbarInfo.icns"}, "title": "Loading Events\u2026"}], "rerun": 0.2} [16:28:19.294] Video Conferences[Script Filter] Queuing argument '(null)' [16:28:19.489] Video Conferences[Script Filter] Script with argv '(null)' finished [16:28:19.499] STDERR: Video Conferences[Script Filter] . 16:28:19 workflow.py:2061 DEBUG ---------- Video Conferences (0.1.1) ---------- 16:28:19 video-conferences.py:196 DEBUG args={'--calendar': None, '--event': None, '--force-reload': False, '--help': False, '--notify': False, '--reload': False, '<query>': None} 16:28:19 video-conferences.py:65 DEBUG max_cache_age=300 16:28:19 video-conferences.py:67 DEBUG lookahead_days=3 16:28:19 video-conferences.py:82 DEBUG regex=https://([a-z0-9]+\.)?zoom\.us/j/\d+(\?pwd=[a-z0-9]+)? 16:28:19 video-conferences.py:82 DEBUG regex=https://meet\.google\.com/[a-z-]+ 16:28:19 video-conferences.py:82 DEBUG regex=https://[a-z0-9]+\.zoom\.us/[a-z0-9_.-]+/\d+\?pwd=[a-z0-9]+ 16:28:19 video-conferences.py:76 DEBUG calendar='Default' 16:28:19 video-conferences.py:82 DEBUG regex=https://meet\.lync\.com/[a-z0-9_.-]+/[a-z0-9_.-]+/[a-z0-9]+ 16:28:19 workflow.py:1468 DEBUG reading settings from /Users/[MY_USER_FOLDER]/Library/Application Support/Alfred/Workflow Data/net.deanishe.alfred.video-conferences/settings.json 16:28:19 workflow.py:2254 DEBUG set last run version: 0.1.1 16:28:19 workflow.py:2103 DEBUG ---------- finished in 0.035s ---------- [16:28:19.502] Video Conferences[Script Filter] {"items": [{"valid": false, "subtitle": "Results should appear momentarily", "icon": {"path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/ToolbarInfo.icns"}, "title": "Loading Events\u2026"}], "rerun": 0.2} [16:28:19.692] Video Conferences[Script Filter] Queuing argument '(null)' [16:28:19.824] Video Conferences[Script Filter] Script with argv '(null)' finished [16:28:19.839] STDERR: Video Conferences[Script Filter] . 16:28:19 workflow.py:2061 DEBUG ---------- Video Conferences (0.1.1) ---------- .... .... .... Sorry, wasn't aware of the debugger. See log above.
  8. Hi all, started using this workflow (version 0.1.1) however I can't get it to work out of the box. After installing tried to restart MacOS (Catalina 10.15.7), using Alfred 4 + powerpack - .vc reload didn't help It's stuck on "Loading events..results should appear momentarily" Didn't change any of the config vars Using Google Meet + Calendar.app - meetings are visible in Calendar.app and contain meet.google.com links Alfred has access/permission to Calendar app Any thoughts?
  9. Thanks for the reply! This helps a lot.
  10. Hi there, thanks for sharing this very promising workflow. I was searching for a faster alternative for my current/old Evernote Workflow that I've been using for years now and looking forward to give this a one go. This workflow showed up but what's holding me back is that I have to give the app read rights to all my notes (even if i don't want to use the caching..). Which is what is holding me back from using it. Not familiar with the Evernote SDK/API but why should this app have direct read rights if the SDK can perform the search and just return the results? Could you explain a bit more about the workings of the workflow as I'm not really comfortable giving read rights without any context. Thanks! FYI - I'm mainly using it to search notes. I love that the new search bar on my iPadOS 14 also shows Evernote almost instantly but seems on MacOS it's not possible to have a snappy solution.
×
×
  • Create New...