On Jan 18, 2008 1:00 PM, Alan German <[EMAIL PROTECTED]> wrote: > On Jan 18, 2008, at 12:38 PM, Jim DeVona wrote: > > > -- find existing note > > set mynote to first note item whose name is mytitle > > if mynote is missing value then > > -- create a new note > > set mynote to (make new note item with properties ¬ > > {name:mytitle, contents:"imported on " & date}) > > add tags mytags to mynote > > end if > > > In my testing here, this causes an error (in Script Debugger) when no > such item exists.
Just for reference, I tested my version with Yojimbo 1.5 on Mac OS X 10.4.11 using Apple's Script Editor 2.1.1 (AppleScript 1.10.7), and no error occurs when an item named by mytitle does not exist. Perhaps it is a Script Debugger issue? Whatever works! Jim -- ------------------------------------------------------------------ This message is sent to you because you are subscribed to the mailing list <yojimbo-talk@barebones.com>. To unsubscribe, send mail to: <[EMAIL PROTECTED]> List archives: <http://www.listsearch.com/yojimbotalk.lasso> Have a feature request, or not sure if the software's working correctly? Please send mail to: <[EMAIL PROTECTED]>