Welcome to my messy collection of AppleScript utilities! I hope you find something useful.
AppleScript files in this repo use uncompiled scripts. To compile all libraries and scripts, run:
./compile-libs.sh
mkdir -p ~/Library/Script\ Libraries
ln -s $(pwd)/dist/Libraries/*.scpt ~/Library/Script\ Libraries
./compile-scripts.shSome scripts make use of common utilities spun out into global script libraries. These can be
copied or symlinked from the dist/Libraries folder to the ~/Library/Script Libraries folder as needed.
For example:
# Compile libs first
./compile-libs.sh
# Then symlink them into place
ln -s $(pwd)/dist/Libraries/*.scpt ~/Library/Script\ LibrariesSyncs Bookends references to a group in a given database. Options can be changed at the top of the script.
Symlink/copy to ~/Library/Application Scripts/com.devon-technologies.think3/Menu (or elsewhere) for
easy access.
Given a custom metadata field zettelkastenid and Zettelkasten entries prefixed by a 14 digit epoch
time code, this Smart Rule script will copy the time code to the custom metadata field.
Symlink/copy to ~/Library/Application Scripts/com.devon-technologies.think3/Smart Rules and create
a Smart Rule with:
- Search in set to your Zettelkasten group
- A predicate where the
zettelkastenidis empty - An action to Execute Script set to External and pointing to Set Zettel Data
Custom formats should go in ~/Library/Application Support/Bookends/Custom Formats.