• 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 Address Book
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Scripting Address Book


  • Subject: Scripting Address Book
  • From: Gibbons Burke <email@hidden>
  • Date: Tue, 10 Sep 2002 16:41:35 -0500

I'm trying to write a script that takes the currently displayed address card in the Address Book application and does something with it, like, say, copying the name, company and address to the clipboard so that it can be printed on an envelope, or inserted into a letter in Word, or TextEdit.

Problem: I can't figure out, from the Dictionary, how to get that information. I would guess that it would work similarly to iTunes, where you can get the name of the currently playing tune ("the name of the current track"), or the name of the current playlist. But I can't find anything in Address Book that corresponds to this sort of thing, and nothing I've tried seems to work.

I'm a relatively new user of AppleScript, so I don't know if there's something obvious I'm overlooking or if this ability just doesn't yet exist in the applescript api of the Address Book.

Any help would be appreciated,

Gibbons Burke
_______________________________________________
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: Scripting Address Book
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: Re: program linking Port error
  • Next by Date: Re: Do shell script. Type 1 error.
  • Previous by thread: Re: Window arrows - Thank you
  • Next by thread: Re: Scripting Address Book
  • Index(es):
    • Date
    • Thread