>I obviously am not able to select a new incoming message automatically with >this current scripting.
There is a command to work on the message currently being handled by the mail actions. the property "Filtered Message" is what you are looking for. This is a script I have that runs as a mail action (and reformats the AppleLinks daily digest so it is a tad more readable) >property cr : ASCII character (13) > >tell application "Claris Emailer" > set theMessage to the filtered message > set currBody to the content of theMessage > set currBody to my replace_chars(currBody, "<BR>", cr) > set currBody to my replace_chars(currBody, "•", "�") > set the content of theMessage to currBody >end tell > >on replace_chars(this_text, search_string, replacement_string) > set AppleScript's text item delimiters to the search_string > set the item_list to every text item of this_text > set AppleScript's text item delimiters to the replacement_string > set this_text to the item_list as string > set AppleScript's text item delimiters to "" > return this_text >end replace_chars As you can see, I set a local property "theMessage" to the "filtered message" to enable me to then work on the currently being handled mail action message. I think if in your script you change your line > set messageRef to item 1 of selectedMessages to: "set messageRef to the filtered message" you should then be able perform you actions via a mail action and also remove the entire lead in section you have to selecting a message (and warning a user when they don't select a message) I hope this is of some help. I'm not a very strong applescripter, and I know Emailer drives me NUTS when I try to script it. I usually have to resort to stealing bits of code from other emailer applescripts (and I'm sure that I got the filtered message trick from one... or maybe from Michelle off this list, she is a good applescript programmer, and knows Emailer's bizzare dictionary quite well). -chris <http://www.mythtech.net> ___________________________________________________________________________ To unsubscribe send a mail message with a SUBJECT line of "unsubscribe" to <[EMAIL PROTECTED]> or <[EMAIL PROTECTED]>

