Jump to content

pdazero

Member
  • Content Count

    13
  • Joined

  • Last visited

  1. @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!
  2. {%Y%m%d%H%M} {title} This worked as expected 馃憤
  3. 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.
  4. @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 "md#planificaci贸n" and "md#planificaci贸nestrat茅gica", same problem, no hits whatsoever. Thanks !
  5. 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#planificaci贸" shows hits of "planificaci贸n" (does NOT exist) and "planificaci贸nestrate" (does NOT exist) , after pressing enter on either no notes are shown Alfred "md#planificaci贸nestrat茅gica" shows "planificaci贸nestrat茅gica" (does exist), after pressing enter no notes are shown You can replicate my adding the attached MD file: https://www.dropbox.com/t/GLIPNt6Pu5tk1MJ9 BTW If you bear with me learning, I would happily invest time in suggesting code to fix these problems, but I need to know where to start. I'm overwhelmed by this unicode hell hehe.
  6. Just checked, it worked Thank you
  7. 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)
  8. Here: 202007140936 Presentaci贸n Status.md Sorry its not "tilde" but "spanish accent", I got lost in translation...
  9. 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,
  10. @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_match: it.setvar('zoom_url','zoommtg://zoom.us/join?confno=' + zoom_url_match.group(1)) And then open url with the "zoom_url" variable. If you are interested maybe you could do this a lot cleaner but my coding skills are not at their best today. Thanks again for this workflow.
  11. 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?
  12. @Acidham my main source of Zettelkasten wisdom comes from the forum at zettelkasten.de. I'm impressed of the several high quality and well thought topics there, rather than talking about an app it's more about the philosophy of knowledge management. https://zettelkasten.de I'm also enjoying conversation on bear subrredit, obsidian forums and now this forum. I avoided alfred for years but Spotlight for some reason started to misbehave, couldn't fix it and MacOS reinstall is out of the question. Well, and also I migrated from Bear to local-notes paradigm. The reason I'm using the Zettel IDs is that I liked the way I can sort by name in Finder, Windows or any app really. I've found that file modification dates can be messy, specially when synchronization is at works with the likes of Dropbox or Icloud. I'm intrigued also by this "Unique ID", even though I still haven't really found a use case for that, at least in my workflow - mainly because I've been a lazy note linker. Not being particularly disciplined in this means I must not ever change the filename of the note, even though I might have thought a better name, because it can break MD links. BTW I don't use that YAML header I see in the template of your workflow. Why you see the need of that header? In my case: 1- The creation date is on the file (although not reliable) and the Zettel ID (though you are forced to set up that ID) 2- Tags might be mentioned in any part of the note. Actually I use to set them at the bottom because it's not important for the content, just for finding the right note. Also it's easy to batch add tags on expression-matching notes by appending text just with bash.
  13. @Acidham thank you a lot for this, it's a great workflow. Im using zettelkasten id's on my md filenames, I added this two lines of code on the getTargetFilePath function: zettelid = self.getTodayDate("%Y%m%d%H%M") file_name = Tools.strJoin(zettelid,' ',file_name) Maybe you could set up a env var for that option. I don't know Python, I just arranged this humble add-on copying and pasting from the rest of the code
×
×
  • Create New...