> What do you mean when you say you don't want to convert the content? > I'm not sure if the full path to the attachment would even be > available at this point... and I'm not sure why you'd want the file > name but not the contents of the file if you're trying to preview it.
I must to RTFM. Your example open my eyes. I just need content.read() Now all works fine. Thanks for help. > I'm guessing you're trying to pass the filename to some external > program to generate the preview maybe? Yes!-) > > Here's a link to the source for my IHTMLPreviewRenderer that I > implemented:http://trac-hacks.org/browser/scrippetmacro/0.12/scrippets/render.py > Great thanks, Ben! -- You received this message because you are subscribed to the Google Groups "Trac Development" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/trac-dev?hl=en.
