• 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
Re: AB Selection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AB Selection


  • Subject: Re: AB Selection
  • From: Paul Berkowitz <email@hidden>
  • Date: Sat, 01 Nov 2003 20:37:08 -0800

On 11/1/03 3:49 PM, "Graphitex" <email@hidden> wrote:

> How can I refere to "current selection" (person or group) or "frontmost
> contact" in Address Book?
>
tell application "Address Book"
item 1 of (get selection)
end tell

>
> Ps. If I'm not blind, the selection-object (if it exists) is badly
> implemented, in general, in many apps.

Well, maybe a little shortsighted. Many apps that implement 'selection'
require the explicit 'get', or a variable set top selection in a preceding
line in order to evaluate it.
--
Paul Berkowitz

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: AB Selection
      • From: Graphitex <email@hidden>
References: 
 >AB Selection (From: Graphitex <email@hidden>)

  • Prev by Date: Obnoxious Script Editor 2
  • Next by Date: Re: Obnoxious Script Editor 2
  • Previous by thread: AB Selection
  • Next by thread: Re: AB Selection
  • Index(es):
    • Date
    • Thread