Jump to content

pdazero

Member
  • Content Count

    17
  • Joined

  • Last visited

  1. Hi @swissmanu this works as advertised but it's slower than File Filter (I have several thousand files). Also I've becoming increasingly uncomfortable with scripts like these (checkout the awesome Acidham markdown script) for the same reason, just not snappy on a large note vault. I ended up doing an alternate approach: - Usual File Filter (filename and contents) on my markdown vault - If I want to create a new markdown note, I press a predefined KEY COMBO - This KEY COMBO runs a Keyboard Maestro script that runs copies the original query by means of cmd-a + cmd-c, s
  2. @Andrew Just another user here who could have use for this. Thank you,
  3. @deanishe Actually I tried directly using arrays but it didn't work. It might have been some obscure bug or error on my side (probably) but could not access the array elements. After I did that probably silly array-to-string-to-array stuff, everything started working. 🤷‍♂️
  4. @deanisheThank you. I have to say this was a huge feat for me, but finally managed to do it. I first had to learn javascript arrow functions, what the hell is objc.unwrap() and other spices lol. Here is the final run function from CalendarEvents.scpt: function run(argv) { if (!haveAccess()) { return JSON.stringify({error: 'No Access to Calendars', events: []}) } let days = 7, events = [], formatter = $.NSISO8601DateFormatter.alloc.init // convert all times to local time because Python sucks at timezones formatter.timeZone = $.NSTimeZone.localTimeZone if (argv.l
  5. @deanishe I'm trying to figure out how to extract the list of attendees and then use that to build a markdown minute template, but I don't find a way to access that list in your script. Can you give me a hand? BTW I use this script several times a day, it's really great!
  6. {%Y%m%d%H%M} {title} This worked as expected 👍
  7. I did a small hack to this alfred-note workflow (scroll back a few posts and you'll see it), but the code is deleted every time the workflow is updated. What I use now is a keyboard maestro macro that paste the current ZettelID, so I do Alfred "mdc (key combo) title bla bla" and I get proper zettel filename.
  8. @Acidham thank you for your continued development on this superb workflow ! I update the bugs above in 3.0.0: 1) Filename "Planificación status.md" Partially fixed. Now it finds exact "planificación" matches on filenames, but did not find matches inside note files. 2) Tag with accents don't work well "#PlanificaciónEstratégica" This is fixed, and shows both tags "#planificación" and "#planificaciónestratégica" New behavior: Alfred "md#planificació" does not show any hits, but should show the same hits as "md#planif". New behavior: Alfred
  9. Ok, I think I found some additional unicode-related bugs. 1) Filename "Planificación status.md" Alfred "mds planificacion" does NOT find that file, but did find other files that have the "planificacion" word (without accents) inside the note Alfred "mds planificación" didn't find any files! Alfred "mds planificaci" found all files, with and without accents. 2) Tag with accents don't work well "#PlanificaciónEstratégica" Alfred "md#planif" shows a hit of "planificacio" tag (does NOT exist) and after pressing enter no notes are shown Alfred "md#p
  10. Just checked, it worked Thank you
  11. First Search ('mds'), then actions menu (apple key + enter) and the menu does not display. Latest version: 2.4.0 with my humble addition (zettel id)
  12. Here: 202007140936 Presentación Status.md Sorry its not "tilde" but "spanish accent", I got lost in translation...
  13. Hi @Acidham I think I might found a bug. I have files with tildes on them (spanish filenames) and I found this error on debug: File "/Users/xyz/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.CD0290B9-FE6D-4D27-9D91-7686F6F93660/search_actions.py", line 35, in <module> "arg": u"{0}|[[{2}]]({2})".format("link", note_title, os.path.basename(note_path)), UnicodeDecodeError: 'ascii' codec can't decode byte 0xcc in position 24: ordinal not in range(128) Thanks,
  14. @deanishe Thank you for this, it's great ! I tweaked it a little bit, in order to just join the ZOOM meeting without having to open a browser tab. I'm new to Alfred and Python so it's only a humble hack, with hardcoded regex. I used Zoom url-scheme, as per https://marketplace.zoom.us/docs/guides/guides/client-url-schemes In video-conferences.py: (Around line 261....) it.setvar('event_id', d['uid']) # PDAZERO: Set url to zoom scheme (in case it's zoom) zoom_url_match = re.search('https://[a-z0-9]+\.zoom\.us/[a-z0-9_.-]+/(\d+.*)',d['url']) if zoom_url_
  15. Absolutely agree with you. I think note taking is a very personal thing. I actually don't do a "proper" Zettelkasten, just taking what I like and works for me. Been to lot of note taking apps but the simplicity of md files is my new wave. Do note that the Zettel ID is not client nor app dependent though. Just a naming convention. I read in one of the posts that your scripts "auto-update"? How is that so? It would break my zettel id naming hack?
×
×
  • Create New...