Help with Apple Script

Discussion in 'Mac Help/Tips' started by beatle888, Oct 20, 2002.

  1. beatle888 macrumors 68000

    beatle888

    Joined:
    Feb 3, 2002
    #1
    Hello, Im trying to create a script that will
    automaticaly open "Address Book" and go to
    a specified contact (person).

    that way when i click on this script my address
    book opens to the exact contact to whom i want
    to view the contact information on.

    so once this script is created i can make an
    alias of it and put it in my special contact dock
    (which fills the whole screen thanks to
    "dragthing" :) ) and then everytime i click on
    this script viola, contact info at a wave (to open
    the dock) and a click of the mouse.

    this is what i have so far...can you please let
    me know why once i get "Address Book" to
    open, i cant get it to "Find" the person.

    tell application "Address Book" to activate
    tell application "Address Book" to find = "Cindy"


    thanks.
     
  2. beatle888 thread starter macrumors 68000

    beatle888

    Joined:
    Feb 3, 2002
    #2
    im sinking......bumpity bumb

    p.s. just wait till you guys see what i did with
    osx, dragthing and candybar...along with
    photographs in finder windows :D
     
  3. irmongoose macrumors 68030

    irmongoose

    Joined:
    Dec 3, 2001
    Location:
    Sometimes Tokyo, sometimes California
    #3
    can't you just command(apple)-drag the contact onto the desktop, making an alias to that contact? works for me...



    irmongoose
     
  4. beatle888 thread starter macrumors 68000

    beatle888

    Joined:
    Feb 3, 2002
    #4
    if you have address book open and you drag
    a contact onto your desktop. then click that
    contanct on your deskstop you will see that
    it CREATES A NEW contact in the address
    book. so if you had "John" in your address
    book dragged it to your desktop then clicked
    on the one on your desktop you will now have
    TWO "Johns" in your address book.

    so you cant make aliases from the contacts
    that are in address book.
     
  5. beatle888 thread starter macrumors 68000

    beatle888

    Joined:
    Feb 3, 2002
  6. beatle888 thread starter macrumors 68000

    beatle888

    Joined:
    Feb 3, 2002
  7. cb911 macrumors 601

    cb911

    Joined:
    Mar 12, 2002
    Location:
    BrisVegas, Australia
    #7
    looks like your not getting much help yet, and i'm sorry to say that i won't be able to help either...

    although you could check out the section on Apple's site. there are tutorials for learning applescript and lots of applescript resources.

    good luck
     

Share This Page