Facespan script problem
Facespan script problem
- Subject: Facespan script problem
- From: Eric Waters <email@hidden>
- Date: Fri, 26 Jan 2001 14:29:46 -0800
Applescripters-
I have a Facespan script that I'm wanting to display a floating
"windoid" dialog to notify users of new email with email sender and
email subject fields on the dialog - so the users can quickly view
who the new email is from and the subject before deciding to
interrupt current work to read the mail. They have the option (in the
Facespan dialog) to either read individual messages or ignore all
messages until later. However, I'm having trouble setting the
textboxes in the Facespan dialog to the sender and subject variables
I'm grabbing from Eudora. Here's the script:
on run
tell application "Eudora"
set mysender1 to sender of last message of mailbox "In"
set mysubject1 to subject of last message of mailbox "In"
end tell
open windoid "Main Dialog"
set textbox "sender1" to mysender1
set textbox "subject1" to mysubject1
end run
I'm currently getting the following error when running the script:
"Can't set textbox "sender1" to "--sender's name--"
Any ideas? Also, any input as to how I could account for more than
one message received since the last mail check and display both
senders and subject lines?
Thanks in advance.
--
WWWWWWWWWWWWWWWWW
Eric Waters
Systems Trainer - Office of Institutional Communications
Southwest Educational Development Laboratory - SEDL
Austin, Texas 78701
800-476-6861 ext. 329
web:
http://www.sedl.org