Try one of these. I'm sure something could be adapted for DevonThink.

<applescript>
tell application "PowerMail"
        set theMessages to current messages
        repeat with msg in theMessages
                set s to source of msg
                tell application "BBEdit"
                        make new window
                        set contents of front window to s
                end tell
        end repeat
end tell
</applescript>

<applescript>
tell application "PowerMail"
        set theMessages to current messages
        repeat with msg in theMessages
                set s to source of msg
                tell application "TextEdit"
                        make new document at the beginning of documents with 
properties {text:s}
                end tell
        end repeat
end tell
</applescript>

-- 
Andy Fragen

On Thu, May 12, 2005, Martin Ruettenauer said:

>If you "Save as text" a message in PM and drag the resulting icon onto
>the Devonthink icon in the dock, the message WITH its header will be
>captured in Dt and you can use Dt's features. A scripting solution would
>indeed be more comfortable.
>
>Martin
>
>----
>Mail von: [EMAIL PROTECTED]
>am: Wed, 11 May 2005 19:54:13 -0400
>
>
>>Wednesday, May 11, 2005, 1:15 PM.
>>Thus spake Willem Smelik:
>>
>>>Does anyone use DEVONthink (Pro) and PowerMail, and if so, what are users
>>>experiences about archiving emails in DT?
>>
>>I use both-- neither to its fullest potential, especially Dt.
>>Occasionally I'll save selected text of a message as a rich text note
>>through the services menu or command-shift-), but I don't archive them in
>>Dt. I'm not even sure how that would work or why it would be better than
>>eMessage Archiver. Dt's classifying and "see-also" features are pretty
>>amazing but it won't, as far as I know, capture the header information
>>automatically. Unless there's a scripting solution?
>>
>>Mark
>>----
>>Mark Gerber
>>GERBER STUDIO/Tradigital Illustration
>><http://www.gerberstudio.com>
>>
>>
>
>
>
>






Reply via email to