Things I have tried
What I’m trying to do
Would any kind soul be able to help me install the Zettelizer script for Quick Add? I’m new to the more technical aspects of Obsidian (particularly using scripts) and I have tried to follow the method outlined in the video linked here, but can’t seem to find the equivalent folders in my Obsidian vault or program files folder.
# Zettelizer
![Zettelizer Demo](../Images/zettelizer_demo.gif)
You can get the `.js` file for this userscript [here](./Attachments/zettelizer.js).
To install it, you can follow the same process as in the [fetch tasks from Todoist example - with video](./Capture_FetchTasksFromTodoist.md).
## Setup
You will need to define the folder you want the script to place the new notes in.
This can be done on line 19, where it says ``const folder = "..."``. Change the text inside the `""` to match the desired folder path.
Currently, the script _only_ looks for level 3 headers. This means headers with three pound symbols, like so ``### header``.
You can freely change this. On line 29 it says ``if (heading.level === 3)``. You can change this to any other number, denoting the heading level desired. You can also, rather than checking for equality (`===`), check for other conditions, such as `heading.level >= 1`, which denotes headers of level 1 or greater.
The script looks for headers in your active file with the desired level.
If such a header is found, it will ignore the first 'word' (any sequence of characters - i.e., letters, numbers, symbols, etc - followed by a space). Then, it will create a file with a name containing the remaining text in the heading.
In that file, it will link to the heading it created the file from.
[ in turn linked to ] https://github.com/chhoumann/quickadd/blob/master/docs/Examples/Capture_FetchTasksFromTodoist.md
Very keen to use the script/Quick Add option to create atomic notes so any help would be much appreciated!
Thanks in advance!
Although… now trying to figure out what the difference is between the script and Note Refactors similar function to split by headings - any thoughts on advantages or disadvantages to each would also be welcome!
system
Closed
November 2, 2021, 2:50pm
4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.