Re: Using Applescript to find an existing yojimbo note...

2008-01-19 Thread Michael Heinz
If it matters, I got the same error as Alan, but I chose to wrap it with the try/on error/end try block that I was already using. -- Michael Heinz Phoenixville, Pennsylvania On Jan 18, 2008, at 2:40 PM, Alan German wrote: On Jan 18, 2008, at 2:24 PM, Jim DeVona wrote: On Jan 18, 2008

Re: Using Applescript to find an existing yojimbo note...

2008-01-18 Thread Alan German
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 ¬

Re: Using Applescript to find an existing yojimbo note...

2008-01-18 Thread Jim DeVona
On Jan 18, 2008 2:40 PM, Alan German [EMAIL PROTECTED] wrote: On Jan 18, 2008, at 2:24 PM, Jim DeVona wrote: 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

Re: Using Applescript to find an existing yojimbo note...

2008-01-18 Thread Jim DeVona
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

Re: Using Applescript to find an existing yojimbo note...

2008-01-18 Thread Alan German
On Jan 18, 2008, at 2:24 PM, Jim DeVona wrote: 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

Using Applescript to find an existing yojimbo note...

2008-01-18 Thread Michael Heinz
Hey, I'd like to use Yojimbo to keep a daily work diary. To make it easier, I'd like to set up an applescript that will create the title of the diary entry (based on today's date) and either (a) find the entry if it already exists or (b) create a new entry if it does not. I've figured

Re: Using Applescript to find an existing yojimbo note...

2008-01-18 Thread Jim DeVona
How's this? tell application Yojimbo set mytags to {QLogic, Diary} set mytitle to date string of (current date) -- find existing note set mynote to first note item whose name is mytitle if mynote is missing value then --