Thanks Andy!
The TextEdit script works great. The BBEdit reports that it can't open a
new window. I have BBEdit Lite 6.1.2 for Mac OS X, maybe that command was
added in a later version. But, hey, one that works is all I need! :-)
And yeah, there was a lot more hidden in that message than met the eye! =:-0
Best,
Dave Nathanson
in reply to ([EMAIL PROTECTED]), Andy Fragen's message of 1:07 PM, 7/29/04
>*This message was transferred with a trial version of CommuniGate(tm) Pro*
>Here are 2 scripts to do what you want.
>
>View Source in BBEdit
><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>
>
>View Source in TextEdit
><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, Jul 29, 2004, Dr Dave said:
>
>>Hi,
>>How do you view the message source?
>>
>>I get some mails that show up with only a few words in text mode. If I
>>use the little "world" button at the bottom of the message window, I have
>>a choice of either viewing in a web browser (bad, as it loads remote
>>graphics & web bugs) or "show html", which displays the html version of
>>the message in the message window sans remote graphics. I do have the
>>preferences set to not load remote graphics. I f I "view html" I see a
>>whole message that did not show up in text mode. It has web links &
>>everything.
>>
>>However, I don't see a "view source" choice. That's important because the
>>text version is only a few words, and totally different than the html
>>message. The html version may have misleading web links, which would be
>>easy to spot IF i could see the html code.
>>
>>Is "view message source" not yet a feature? or am I missing something
>>obvious?
>>
>>Best,
>> Dave Nathanson
>>
>>
>>
>
>
>