Re: Script for Eudora
Re: Script for Eudora
- Subject: Re: Script for Eudora
- From: email@hidden
- Date: Fri, 28 Feb 2003 22:18:17 -0800
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.
John:
Thank you. I have just tried this and it works (slowly) from Script
Editor, but now I have something to put into my empty Eudora Scripts
folder.
Thanks for letting me know I can change the Eudora toolbar buttons. I
have just checked out the instructions...
Many thanks
Oz
_______________________________________________
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.