• 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
how to avoid "Error -1708" in an iChat script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to avoid "Error -1708" in an iChat script


  • Subject: how to avoid "Error -1708" in an iChat script
  • From: Bob Majors <email@hidden>
  • Date: Tue, 15 Apr 2008 08:53:18 -0700

I'm trying to have some things happen when "buddy became available" (see later for improper code snippet, but you get the idea). Meanwhile I'm stripping things down to learn the proper syntax, and the following 'display dialog' works when running script 1, but I also get: "Error -1708". What do I need to add/change to avoid the error? Thanks.

Bob


[script 1] using terms from application "iChat" display dialog "hello world" end using terms from

--
[part of script 2]

tell application iChat
  using terms from application "iChat"
  on buddy became available theBuddy
  set buddyHandle to handle of theBuddy

 if buddy became available then
  if buddyHandle is "<someEmailAddress>" then
     <takeSomeAction>
end if

_______________________________________________
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
  • Prev by Date: Mac Spell checker
  • Next by Date: Rep: Quicktime question
  • Previous by thread: Mac Spell checker
  • Next by thread: Rep: Quicktime question
  • Index(es):
    • Date
    • Thread