Saves draft to a markdown file in the specified directory without choosing the path after each launch.
First Run / Action Items
- In Line 3, change the bookmark name to be applicable to what directory you will be setting. JUST THE NAME, NOT PATH! Example below
const BOOKMARK_NAME = "Purgatory"; // Change bookmark name to be applicable
- Upon first launch, it will have you choose the path where this action will automatically save to. This will then set the bookmark name to the path chosen and never ask you again.
- The action will always prompt you for a title/file name.
Example Usage (How I use it):
I have this configured to point to my “Purgatory” directory which will save the draft to that directory as markdown. That specific directory has a hazel rule that auto-purges 30 days after it has been added.
Use it how you wish, hope someone else gets some use out of it! Very similar to the Save to Files, but skipping the step of choosing a directory everytime. I generally use these for “stash”/”temp” files that I want a copy of for some time, but with Hazel it stops me from data hoarding.