Re: Script Modification
Re: Script Modification
- Subject: Re: Script Modification
- From: "Marc K. Myers" <email@hidden>
- Date: Sun, 10 Nov 2002 10:55:08 -0500
Date: Sat, 09 Nov 2002 21:08:06 +0800
Subject: Script Modification
From: Ezra Balaraj <email@hidden>
To: <email@hidden>
Hello,
The partial script below "says" the subjects and the senders' names out
loud. If I receive lots of mail the announcements can really annoy. I
use it
in Entourage. Is there a way to get it to display the items instead ?
I am a
novice
tell application "Finder"
try
if isre is not 1 then
say "You have received an e-mail from," & mysender &
"," &
"about," & mysubject
else
say "You have received a reply too, " & myreply & ",
from "
& mysender
end if
end try
end tell
end ProcessMsg
You don't need to "tell" the Finder to do anything as scripting
addition commands don't require it. Substitute the "display dialog"
command for the "say" command and it will put a dialog on your screen
instead of the voicing the text. This may not be what you want, since
the dialog is modal, meaning you can't do anything else until you
dismiss the dialog. Give it a try and see if you like it.
Marc K. Myers <email@hidden>
http://AppleScriptsToGo.com
4020 W.220th St.
Fairview Park, OH 44126
(440) 331-1074
[11/10/02 10:50:42 AM]
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.