On 7/25/02 1:56 PM, "Peter Wait" <[EMAIL PROTECTED]> wrote:
One method is to take advantage of the way the Palm will display the contents of its Notes section, when an entry is selected. So if a Script were to be written that would move the desired fields, with their names, to the Notes section in the Entourage Address Book, then on Sync’ing, these Notes would end up in the Palms Notes, and would be displayed.
I’d appreciate any comments on this possible solution to the problem.
Peter
Yes, you can do that. Almost every contact field is a simple text field, so it could be transcribed to the notes. I would advise prefixing a label being the name of the field and a colon, but only doing it if the value of the field is not "". It will be more complicated for the second (work or home) address where the value is a record ('postal address' class in the Entourage dictionary), but all of its properties are also text, so that should be fine. there are a couple of boolean properties but those are not ones you'll want to transcribe anyway, although you may want to use them to determine if you need to transcribe other properties.
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?
Peter
