• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Setting the text in a note in Now Contact
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Setting the text in a note in Now Contact (From: Christian Boyce <email@hidden>)

  • Prev by Date: Re: Calling handlers by reference
  • Next by Date: Re: Scope of globals, parents and children, "load script" and all that jazz
  • Previous by thread: Setting the text in a note in Now Contact
  • Next by thread: property persistence problems
  • Index(es):
    • Date
    • Thread