Sorry, I presumed you were using the correct field name. The note field is
actually called "description". Change that, it'll work.

Check the Entourage dictionary; open dictionary in Script Editor and select
Microsoft Entourage; you'll see all the contact fields listed under
"contact" in the last section of the dictionary.

On or near 7/25/2002 6:01 PM, Peter Wait at [EMAIL PROTECTED] observed:

> Allen WatsonPeter Wait
> 
>> On or near 7/25/2002 4:55 PM, Peter Wait at [EMAIL PROTECTED] observed:
>> 
>>>> 
>>>> I�m going to start with Birthday. My first attempt follows:
>>>> 
>>>> tell application "Microsoft Entourage"
>>>>   set nbbd to every contact whose birthday � ""
>>>>   repeat with i from 1 to (count nbbd)
>>>>       set c to item i of nbbd
>>>>       tell c to set its note to (get its birthday)
>>>>   end repeat
>>>> end tell
>>>> 
>>>> But how do I specify, to put the birthday in the note after any lines that
>>>> are already there, if any are; and not to just overlay the existing note?
>>>> 
>> Like this:
>> 
>> tell application "Microsoft Entourage"
>>     set nbbd to every contact whose birthday � ""
>>     repeat with i from 1 to (count nbbd)
>>         set c to item i of nbbd
>>         set temp to c�s note
>>         tell c to set its note to (temp & return & (get its birthday))
>>     end repeat
>> end tell
> 
> I tried this script, and get the error message: �Can�t get �note of Contact
> id 1��. My first contact, at least in ascending name sequence, does have a
> note.
> 
> Any ideas?
> 
>   Peter
> 
> 

-- 
My web page: <http://home.earthlink.net/~allenwatson/>
My scripts page: <http:homepage.mac.com/allenwatson>
Microsoft MVP for Mac Entourage/Word--<[EMAIL PROTECTED]>


--
To unsubscribe:                     <mailto:[EMAIL PROTECTED]>
archives:       <http://www.mail-archive.com/entourage-talk%40lists.letterrip.com/>
old-archive:       <http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>

Reply via email to