The following script passes the info from the highlighted messages to
Hypercard to be processed.
The problem is that it seems to only update every other message. What's
going on?
tell application "Claris Emailer"
set theWindow to the front window
set windowClass to the class of theWindow
if windowClass is browser window then
set selectedMessages to the selection of theWindow
repeat with theMsg in selectedMessages
set theText to the content of theMsg
set read status of the theMsg to read
tell application "HyperCard"
activate
do script "go to stack NSB Invoice"
do script "go card 1"
set card field "Report" to theText
do script "click at the loc of cd button UpdateImport"
end tell
end repeat
end if
end tell
George Henne
NS BASIC Corporation
http://www.nsbasic.com
___________________________________________________________________________
To unsubscribe send a mail message with a SUBJECT line of "unsubscribe" to
<[EMAIL PROTECTED]> or <[EMAIL PROTECTED]>