On Sunday, 22 May 2005, Christian Roth, [EMAIL PROTECTED],
thoughtfully composed the following:
>I'm struggling now already for hours with something I thought should be
>really easy:
>
>How do I copy the body text of a message that is selected in PowerMail's
>message browser to the system's clipboard?
>
>This does not work:
>
>tell application "PowerMail"
> activate
> set msg to the first message of current messages
> set theText to the content of msg
> set the clipboard to (theText as string)
>end tell
For some reason, first you have to copy the "current messages" property
to a variable. Try this:
tell application "PowerMail"
activate
set messageList to current messages
set msg to the first item of messageList
set theText to the content of msg
set the clipboard to (theText as string)
end tell
(Note also, 1st "item" not 1st message)
HTH,
Marcus
--
Marcus Jarrett, Adelaide, South Australia.
Why do you censor your adult movies? If you can show some people sitting
around a table enjoying a meal, then why can't you show people enjoying
other things?
-SBS (Aus TV) Hotline Comment