Re: Setting the text in a note in Now Contact
Re: Setting the text in a note in Now Contact
- Subject: Re: Setting the text in a note in Now Contact
- From: Bill Cheeseman <email@hidden>
- Date: Sun, 20 May 2001 05:44:56 -0400
on 5/20/01 12:38 AM, Christian Boyce at email@hidden wrote:
>
Now Contact has a button that makes a new email message addressed to a
>
selected contact.
You cannot set the note text or note title in Now Contact using AppleScript.
There is a partial workaround: you can make a new note with the desired text
and title. I say partial, because you also cannot delete the old note using
AppleScript.
Something like this:
set foo to "foo"
set bar to "bar"
tell application "Now Contact"
make new note at person 1 of document 1 with properties {note
title:foo, note text:bar}
end
You can also set the note date, but if you don't, it will automatically be
set to the current date.
Watch for the announced release of Now Up-to-Date & Contact next week.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
The AppleScript Sourcebook - www.AppleScriptSourcebook.com
Vermont Recipes - www.stepwise.com/Articles/VermontRecipes