...
>I don't use BBEdit, but here's an example of getting all the selected
>messages into one new PowerMail message with AppleScript, which you could
>then select and copy to BBEdit:
>
><Begin AppleScript>
>property ret : return
>property rr : ret & ret
>property fromLead : "From: "
>property dateLead : "Date: "
>property subLead : "Subject: "
>
>to sendTheTxt from the txt
>   tell application "PowerMail 5.1"
>      set the newMsg to make new message with properties {content:txt}
>      set the status of the newMsg to draft
>      open the newMsg
>   end tell
>end sendTheTxt
>
>tell application "PowerMail 5.1"
>   set the sumText to ""
>   set the msgList to the current messages
>   repeat with targetMsg in the msgList
>      set the targetMsg to (the first item of the msgList)
>      set the targetMsgSender to the targetMsg's sender
>      set the sName to the targetMsgSender's display name
>      set the sAddr to the targetMsgSender's email address
>      set the sentDate to the targetMsg's time sent as text
>      
>      set the msgSub to the targetMsg's subject
>      set the msgBody to the targetMsg's content
>      set the sumText to (the sumText & fromLead & sName & " " & sAddr &
>ret & dateLead & sentDate & ret & subLead & msgSub & rr & msgBody & rr)
>   end repeat
>   sendTheTxt of me from the sumText
>end tell
><End AppleScript>
>
>HTH
>
>cheshirekat

Thank you Cheshirekat

I've tried the above script, but the result is the same first message
copied so many times as the number of the total selected messages
Giovanni




Reply via email to