• 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 e-mail addresses (was Re: Eudora: sending to more than 50 recipients)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Scripting Palm Desktop e-mail addresses (was Re: Eudora: sending to more than 50 recipients)


  • Subject: Scripting Palm Desktop e-mail addresses (was Re: Eudora: sending to more than 50 recipients)
  • From: Chris Page <email@hidden>
  • Date: Wed, 14 Nov 2001 20:35:33 -0800

On Wednesday, November 14, 2001, at 06:27 PM, Will Gosney wrote:

I'm still trying to get this to work, without any success. When I modified the existing script, it didn't show up in the menu in the Palm Desktop

This is what I have so far:

tell application "PalmE Desktop"
set strFullname to full name of address 0
--the script chokes on this text
set strEmail to text of address 0
end tell

Chokes on which text?

The first set statement works fine for me, but "text of address" is invalid. You have to get the "text" property of a specific custom field of the address. If you want the contents of the default e-mail field, use:

set strEmail to text of (get custom 1 of address 0)

NOTE: Unfortunately, Palm Desktop 2.6.3 has a faulty AppleScript dictionary that uses the ambiguous words "title" and "text" for the properties of a "custom field info". (In the next release, these will be renamed to "field title" and "field text", respectively.) In order to get the text property of a custom field, you have to first "get" the custom field info, which returns a record with the properties "title:" and "text:", then you can get the properties from the record. Otherwise, you could just write:

set strEmail to text of custom 1 of address 0

Note that you can also use the "all fields" property of an address to get a record containing all the available properties of an address. This should always be a viable work around if getting individual properties fails to work as expected due to dictionary ambiguities.

--
Chris Page
Mac OS Lead, Palm Desktop
Palm, Inc.

Trying to use Mac OS X as his main OS


References: 
 >Re: Eudora: sending to more than 50 recipients (From: Will Gosney <email@hidden>)

  • Prev by Date: Re: using tell with proc. serial numb. in OS X
  • Next by Date: how to get os version?
  • Previous by thread: Re: Eudora: sending to more than 50 recipients
  • Next by thread: Quit application
  • Index(es):
    • Date
    • Thread