When I posted the nvTagNavigator application, I had mentioned that you could automate it to run at regular intervals. I didn’t think about the fact that it pops up two dialogs every time it runs, making that impossible. The new download includes a script that can be automated.

nvTagNavigator indexes your nvALT tags and creates a panel for navigating your notes based on tags. There are two applications, makeTagsList and nvTagNavigator.

Now, the first time you run the makeTagsList application, it will store your responses in your system defaults. From that point on, running the included nvtaggenerator.rb will automatically use the preferences you set when you ran makeTagsList. You can then automate that script using launchd. The screenshot below shows the settings I use in LaunchControl:

You’ll need to update the path to point to wherever you install the script. You can also use Lingon with the same type of settings.

If you don’t want to use either, you can edit the plist below in any text editor, and save the final file as ~/Library/LaunchAgents/com.brettterpstra.nvtaggenerator.plist. Be sure to change [username] to your username and adjust the path as necessary to point to wherever you install the script. The “7200” in the script indicates that it should run every 2 hours (60*60*2), and can be adjusted to whatever interval you want.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Label</key>
	<string>com.brettterpstra.nvtaggenerator</string>
	<key>ProgramArguments</key>
	<array>
		<string>/usr/bin/ruby</string>
		<string>Users/[username]/scripts/nvtaggenerator.rb</string>
	</array>
	<key>RunAtLoad</key>
	<true/>
	<key>StartInterval</key>
	<integer>7200</integer>
</dict>
</plist>

Hopefully that will help (at least the more advanced) users make this process a bit less of a hassle.

nvTagNavigator v1.1

Collect and navigate your nvALT tag collection

Published 02/15/13.

Updated 02/15/13. Changelog

DonateMore info…