Re: Palm Desktop downloaded script dosen't add up
Re: Palm Desktop downloaded script dosen't add up
- Subject: Re: Palm Desktop downloaded script dosen't add up
- From: Sun Real <email@hidden>
- Date: Sun, 13 May 2001 07:50:06 +1000
John Haley's message of 12/5/01 4:13 AM contained:
>
I can't seem to get this to return a value
>
>
tell application "Palm Desktop"
>
set dog to text of custom 1 of address 1
>
display dialog "The value is:" & dog
>
end tell
>
>
Any suggestions
I've found that the AS support in PD2.6 and up is somewhat broken. Not
entirely - people seem to be scripting it - but it broke a heap of things
I use.
I don't have a copy of 2.6x to check this out, but you could perhaps try
to get custom 1 first, then extract the text out of it:
set theDogFather to custom 1 of address 1
set dog to text of theDogFather
I've stuck with 2.5, which is functionally v. similar if not identical
(for users) and can, I believe, use all the latest hotsync stuff.
The functional syntax for PD2.5 or less, is:
tell application "Palm Desktop"
set dog to fieldText of Custom1 of contact 1
display dialog "The value is:" & dog
end tell
Cheers,
Richard Morton
-- Great Lies of the Music Business: "I'm sure it will work"