Selecting the archive directory on startup?
Is there a way to specify the archive directory on startup?
The reason being that I want to set up a second directory for a work project that I will eventually pass off to someone else so I need to keep it separate from my personal stuff.
I did a quick scan through the forum and couldn't see an answer. Thanks.
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
There is an option, using the dropdown menu under "The Archive", to "Switch Archives...". Pretty ease to do.
Thanks for the answer.
What I had hoped to find out was, if there was a way to use some command line magic, or add a second icon on my desktop to open up the different directory (instead using the dropdown menu to switch).
I do have a secret debug switch for this for testing as a launch argument.
You can pass the
archiveURL
on the command line like so:/
file://
URL/Contents/MacOS/The\ Archive
binary inside the .app bundle -- you can't justopen The\ Archive.app
and pass thisEdit: I must've slept on this change, but I just discovered that you can also use this to pass another directory:
Author at Zettelkasten.de • https://christiantietze.de/
Perfect. Exactly what I was after. Thank you.
I did a first pass at using Automator to run AppleScript to launch with specific directories.
Code is attached for reference if anyone needs a script in the future.
`
on run {input, parameters}
end run
`
Then you can copy the script icon to the desktop to have quick access.
Brad
@Brad_T if you use a Shell Script task in Automator, it might be even quicker (I never know if loading the AppleScript environment takes long, or if it's the Automator action itself)
Author at Zettelkasten.de • https://christiantietze.de/