• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Scripting Palm Desktop --- syntax to modify Custom fields
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Scripting Palm Desktop --- syntax to modify Custom fields


  • Subject: Scripting Palm Desktop --- syntax to modify Custom fields
  • From: "Jason W. Bruce" <email@hidden>
  • Date: Sat, 06 Oct 2001 09:45:58 +0000

> Message: 4
> Date: Fri, 05 Oct 2001 15:04:19 -0400
> Subject: Re: Scripting Palm Desktop --- syntax to modify Custom fields
> From: Mohamed Shams <email@hidden>
> To: <email@hidden>
>
> Hi everybody..
>
> Changing the subject... However... Still a palm question..
>
> How do I modify the text in a custom field..
>
> Set text of custom 1 of address 0 to "whatever"
>
> This doesn't work..???
>
>
> Mohamed

You can't use the word "text" to refer to the contents of a custom field in
the Palm Desktop, because "text" is an AppleScript keyword. Instead, you
have to use raw syntax to set the contents of a custom field. Be careful
not to recompile after you type in the raw syntax, because AppleScript will
translate the raw syntax to the Palm Desktop dictionary term "text" in
Script Editor, and will subsequently confuse it with the AppleScript keyword
"text."


tell application "Palm Desktop"
set custom 2 of address 0 to {+class PCTX;:"Whatever"}
end tell

Jason Bruce


  • Follow-Ups:
    • Re: Scripting Palm Desktop --- syntax to modify Custom fields
      • From: John W Baxter <email@hidden>
  • Prev by Date: Re: Flickering cursor
  • Next by Date: Tex-Edit, get wild text, even one letter.
  • Previous by thread: Re: MacOS X AS list (needed!)
  • Next by thread: Re: Scripting Palm Desktop --- syntax to modify Custom fields
  • Index(es):
    • Date
    • Thread