yjnote

yjnote is a Mac OS X command-line tool for creating note items in Yojimbo. You can use it to pipe the output or usage notes of other programs into Yojimbo for reference or logging purposes.

Download

Download yjnote.zip (1.7 KB)

Tested, minimally, with Yojimbo 2.1 on Mac OS X 10.6.2. yjnote is written in Perl with a pinch of AppleScript. Further testing, bug fixes, and improvements are welcome (and likely necessary).

Usage

You can display this documentation at any time with yjnote -help.

NAME
       yjnote − Create Yojimbo notes from the command line.

SYNOPSIS
         yjnote [options] [FILE...]

DESCRIPTION
       yjnote creates a Yojimbo note by concatenating the contents of the
       given files (or by reading standard input, if no files are given).

OPTIONS
       −title TEXT
           Sets the note item title.

       −comments TEXT
           Sets the note item comments.

       −label TEXT
           Sets the note item label. Ignored if the label does not exist.

       −tags TAG[,TAG,...]
           Sets the note item tags. Separate tags with commas.

       −flagged
           Flags the note item.

       −reveal
           Reveals the newly created note in Yojimbo. By default, the new note
           is not displayed.

Posted on Sunday, December 13th, 2009. Tags: , , , .

One Response to “yjnote”

Posted by Mathias on Friday, April 29th, 2011 at 10:39 AM.

Hi, I am using your script to import several thousand URLs into Yojimbo. Executing osascript (on a Mac with Snow Leopard & Adobe CS4 installed) throws an exception (rooted deep in Adobe’s Scripting Additions framework), but there’s a workaround: Invoke osascript with “arch -i386” prefixed. More details can be found at http://forums.adobe.com/thread/486208

Thanks for a great little script that will make my transition to Yojimbo much much easier!

Mathias