Title: Re: Cannot print with full headers?
That's right. See my previous message for a way to do it. You'll end up with an "edited" icon, and will lose HTML, however, be warned. You could make and save a new message whose content is theSource instead, but by that time you might as well use a text editor. Also you can't switch it to a Note and print that by script, since AppleScript won't print notes (yet another bug). You could do this, however:
tell application "Microsoft Entourage"
set theMsg to item 1 of (get current messages)
set theSource to the source of theMsg -- only works for saved messages
set theSubject to the subject of theMsg
set newNote to make new note with properties {name:theSubject, content:theSource}
open newNote
end tell
Then print the note manually. You can then delete the note or close it to save. The note will be in plain text, with any HTML code following, but the message will stay in HTML. So this would be even better:
tell application "Microsoft Entourage"
set theMsg to item 1 of (get current messages)
tell theMsg
set {theSubject, theHeaders, theContent} to the {subject, headers, content}
end tell
set noteContent to theHeaders & return & return & theContent
set newNote to make new note with properties {name:theSubject, content:noteContent}
open newNote
end tell
That will print just what you want: the headers plus the content in plain text, no massive HTML code. Print this note. And the original message stays as it was.
I'd go with this version.
--
Paul Berkowitz
> From: Julian Vrieslander <[EMAIL PROTECTED]>
> Reply-To: "Entourage:mac Talk" <[EMAIL PROTECTED]>
> Date: Wed, 12 Jun 2002 15:16:44 -0400
> To: "Entourage:mac Talk List" <[EMAIL PROTECTED]>
> Subject: Re: Cannot print with full headers?
>
> Sorry, I forgot to mention that I am using Entourage X, in OS X 10.1.5.
> When I bring up a Source window and select "File > Print…", nothing happens.
> I don't even get to the Print dialog. With a regular message window, I get
> the Print dialog, and a correct printed output. But only short headers.
>
> - JV
>
> On 6/12/02 2:48 PM, "Beth Rosengard" <[EMAIL PROTECTED]> wrote:
>
>> I just did a View>Source and was able to print that window with no problem
>> ... in OS 9.1, Entourage 2001.
>>
>> Beth
>>
>>
>> On 6/12/02 11:22 AM, "Julian Vrieslander" <[EMAIL PROTECTED]> wrote:
>>
>>> How do you print an incoming email message with all headers?
>>>
>>> Print command from the message window (with or without headers pane
>>> expanded) gives only partial headers on the printed page. Print command
>>> from the View Source window does not work at all.
>>>
>>> I can copy/paste to another program and print from there. But is there no
>>> way to do it within Entourage?
>
> --
> Julian Vrieslander <[EMAIL PROTECTED]>
>
>
> --
> To unsubscribe:
> <mailto:[EMAIL PROTECTED]>
> archives:
> <http://www.mail-archive.com/entourage-talk%40lists.letterrip.com/>
> old-archive:
> <http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>
>
- Cannot print with full headers? Julian Vrieslander
- Re: Cannot print with full headers? Beth Rosengard
- Re: Cannot print with full headers? Julian Vrieslander
- Re: Cannot print with full headers? Paul Berkowitz
- Re: Cannot print with full headers? Paul Berkowitz
- Re: Cannot print with full headers? Julian Vrieslander
- Re: Cannot print with full headers? Paul Berkowitz
- Re: Cannot print with full headers? Julian Vrieslander
- Re: Cannot print with full header... Allen Watson
- Re: Cannot print with full he... Julian Vrieslander
