Re: Scripting Palm Desktop (was Re: Saving an attachment from)
Re: Scripting Palm Desktop (was Re: Saving an attachment from)
- Subject: Re: Scripting Palm Desktop (was Re: Saving an attachment from)
- From: "Jason W. Bruce" <email@hidden>
- Date: Tue, 13 Nov 2001 12:24:32 +0000
Hate to prolong this, but what's so difficult about the following:
Tell application "Palm Desktop"
set foobar to all fields of address 100
end tell
or
Tell application "Palm Desktop"
set foobar to last name of name info of address 100
end tell
or
set foobar to {}
tell application "Palm Desktop"
set upperlimit to count of every address
repeat with loopvariable from 1 to upperlimit
set end of foobar to {last name, first name} of name info of address ,
loopvariable
end repeat
end tell
tell application "Entourage" to do whatever with foobar
There is no problem whatsoever moving data into and out of Palm Desktop.
Everything you need is right there in the dictionary and follows the object
model very faithfully.
Jason Bruce
>
I could not say. I don't use PD much at all. Used to, before Entourage came
>
out. Most of my experience was trying to do something like import or export
>
a contact from PD to/from Entourage or Emailer, I don't remember which, and
>
it has probably been well over a year ago. All I remember is that I used
>
terms from the dictionary as they were documented, and they did not work.
>
Finally, I got some help (probably from someone on this list) giving me some
>
code using terms that do not exist in the dictionary! That's my memory,
>
anyhow. Apparently Paul independently came up with the same conclusions.