• 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
Getting error -1708 for Messages script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting error -1708 for Messages script


  • Subject: Getting error -1708 for Messages script
  • From: Cheng-Yang Tan <email@hidden>
  • Date: Sun, 25 Nov 2012 16:22:03 -0800 (PST)

Hi guys,
 First, I am an applescript beginner, so I'm sure what I did is probably wrong and I hope one of you can help me with the script.

The goal is to write an event handler for Messages which I wrote below in applescript:

*******************************************************
using terms from application "Messages"
   on buddy became available myBuddy
            tell application "Messages"
                 tell myBuddy
                        set buddyName to full name
                 end tell
           end tell
    end buddy became available
end using terms from

*********************************************************

The goal is to eventually pop up a message box. However, right now I am getting and -1708 error whenever this script is called by Messages event "Buddy becomes available" in Messages->Preferences->Alerts.

I can't find anything that is obviously wrong. Please help.

Thanks!

cytan

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Getting error -1708 for Messages script [Solved]
      • From: Cheng-Yang Tan <email@hidden>
  • Prev by Date: Re: Removing a field from Contacts/Address Book
  • Next by Date: Re: Xcode Installation
  • Previous by thread: Compte ICloud:iTunes
  • Next by thread: Re: Getting error -1708 for Messages script [Solved]
  • Index(es):
    • Date
    • Thread