Title: Re: How to Sync Fields that are in the Entourage Address Book that are not on the Palm
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

Thanks for the help.
    Peter

Reply via email to