Getting error -1708 for Messages script
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