Re: Can't set Palm Desktop custom fields
Re: Can't set Palm Desktop custom fields
- Subject: Re: Can't set Palm Desktop custom fields
- From: "Jason W. Bruce" <email@hidden>
- Date: Sat, 21 Apr 2001 13:36:13 -0500
The setting of custom fields in the Palm Desktop is broken in Palm Desktop
2.6. Although this version changed the dictionary from prior versions, it
still claims to retain the same apple events. So, if you have Palm Desktop
2.0 (or perhaps 2.5) lying around, you may be able to use Smile to ascertain
the raw codes for setting a custom field, and then use raw codes in your
present script.
Jason Bruce
>
Message: 10
>
Date: Wed, 18 Apr 2001 07:00:09 -0500
>
Subject: Can't set Palm Desktop custom fields
>
From: Irwin Poche <email@hidden>
>
To: <email@hidden>
>
>
Hi - this is my first post to this list.
>
>
If I try to set one of the custom fields of an address with either of these
>
scripts...
>
>
tell application "Palm Desktop"
>
set text of custom 5 of address 0 to "howdy"
>
end tell
>
>
tell application "Palm Desktop"
>
set custom 5 of address 0 to "howdy"
>
end tell
>
>
I get an Execution Error that reads "Palm Desktop got an error" Can't set
>
custom 5 of address 0 to "howdy".
>
>
Since the value returned from "custom 5 of address 0" is a string (not a
>
list) something like "title:Sister, text:Cindy" I've tried a variety of
>
combinations of strings (and lists) that look like this and they all fail.
>
>
Does anyone know how to set a custom field ?
>
>
Thanks a bunch,
>
Irwin