Re: Script for Eudora
Re: Script for Eudora
- Subject: Re: Script for Eudora
- From: John Delacour <email@hidden>
- Date: Fri, 28 Feb 2003 20:30:39 +0000
- Mac-eudora-version: 6.0a8
At 10:39 am -0700 28/2/03, Doug McNutt wrote:
And worst of all it has nothing in its dictionary to allow
operations on the current selection. Try writing a script to mark
all messages in the current selection as read.
I have twice recently posted scripts that show clearly how to do this
but, yawn, here we go again:
--------
(* Script "Mark as Read" *)
tell app "Eudora"
activate -- for testing only
set vBox to the name of the front window
try
set x to name of mailbox vBox
on error e
tell me to return (display dialog e & "
(A mailbox summary must be frontmost)
" with icon 0 buttons {"OK"} default button 1 giving up after 1)
end try
repeat
try
set vMessage to move message "" to end of mailbox vBox
set status of vMessage to already read
on error
exit
end
end
end
--------
This runs very fast from a toolbar button.
And. Just how should scripts be saved for inclusion in the
Eudora/.../Scripts folder? Compiled script or APPL? Sometime ago I
think I discovered that only APPLs worked but I may have made some
other error. Is it MacOS version dependent?
Yes you must have and no it isn't. Compiled scripts are required.
It might be best to have some experience of scripting Eudora before
telling the world how it doesn't work!
And, the Eudora-Mac mailing list is just about as helpful as this
one. Those secret codes are pretty much defined there where someone
regularly documents another one.
There's nothing secret about the codes. I press a button and get a
detailed list of the meaning of each setting. I type command-F to
search for whatever I need and have a URI right there such as
<x-eudora-setting:234> that I can click on to change the setting. If
I need to use a script, then I write
set setting 234 to "y"
There are so many settings that no one would actually want them
cluttering up the dictionary, and it's faster and more informative
this way.
JD
_______________________________________________
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.