Re: Speedup scripts
Re: Speedup scripts
- Subject: Re: Speedup scripts
- From: Chet Goetz <email@hidden>
- Date: Thu, 16 Oct 2003 10:51:14 -0500
Bob,
By no means am I an expert on AS, but I'm learning a little! I followed
some instructions in MacAddict on how to create an app in AppleScript
Studio that can be used to launch scripts by pressing buttons that have
been programmed to run different scripts. It seems to me that the
scripts are much faster when launched from the app than from the
scripts menu. It might be worth a try?
-- Chet Goetz
On Thursday, October 16, 2003, at 09:51 AM, Robert Poland wrote:
Hi,
With the help of Christopher Stone and Emmanuel I
now have a script that when called will send the
"open" message, in Eudora, to "uce-ftc.gov". Now
I'd like for it to be faster.
Calling it by double clicking on it takes about 15 seconds.
Calling it from a key combo (iKey) also takes about 15 seconds.
Telling it to "Run" from "Smile" takes about 2 seconds.
Is there any hope of speeding it up?
-- send to gov - 10/15/03
tell application "Eudora"
if exists of front message then
tell front message
set mRef to a reference to message id (get its id) ,
of (get its mailbox)
set wholeText to whole text
end tell
set newMsg to make new message at end of mailbox 2
tell newMsg
set field "to" to "uce-ftc.gov"
set field "subject" to "SPAM/VIRUS Report"
set body to wholeText
queue
end tell
move message mRef to end of mailbox "Trash"
end if
end tell
beep
TIA,
--
Bob Poland - Englewood, CO
http://www.ibrb.org/
_______________________________________________
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.