View Single Post
Old 12-01-2004, 05:57 PM   #16
mark hunte
MVP
 
Join Date: Apr 2004
Location: Hello London Calling
Posts: 1,787
How to Convert .mht (web html archive files) on a Mac

Quote:
Originally Posted by MBHockey
Quote:
Originally Posted by mark hunte
Sorry I did not reply to your post on walking you through converting mht files. I thought the post had ended, and only just came across it again.

if you still need help on this let me know and I will write it up for you.

Cheers

That would be great, i'd really appreciate it.

Thanks,
Mike


Here is the guide I promised. I have posted it here so everyone can see it.

My network at home is down so I could not move the files between my xp box and my G3 laptop. So I had to work out a new way to do this


This is all done on Mac. So here goes.

1.Download your file and put it into a new folder. We will call this folder the ‘Projects folder’ for now

2.You may want to Rename the file to a short name like this

‘Homework-- Project 1.mht’ to ‘Homeworkp1’
(Save a little bit of typing later)

3. If you have Stuffit expander
Then drag and drop your ‘Homeworkp1.mht’ file onto it. (If not you will need to download it. Try versiontracker.com to be safe. The app should be free for what you need. )

Stuffit will un-compress the file and create a new folder in the‘Projects folder’. The new folder will be named something like ‘HomeworkP1.mht Folder’.

4. Open the ‘HomeworkP1.mht Folder’

Inside you will find a set of files
HomeworkP1.attachment00
HomeworkP1.attachment01
HomeworkP1.attachment02
HomeworkP1.attachment03
HomeworkP1.attachment04
HomeworkP1.attachment05
HomeworkP1.attachment06
HomeworkP1.attachment07
HomeworkP1.attachment08


5. Delete ‘HomeworkP1.attachment00’ Or just ignore it.you do not need it.

6. Change the name of the other files like this.


from

HomeworkP1.attachment01
HomeworkP1.attachment02
HomeworkP1.attachment03
HomeworkP1.attachment04
HomeworkP1.attachment05
HomeworkP1.attachment06
HomeworkP1.attachment07
HomeworkP1.attachment08


to

HomeworkP101.gif
HomeworkP102.gif
HomeworkP103.gif
HomeworkP104.gif
HomeworkP105.gif
HomeworkP106.gif
HomeworkP107.gif
HomeworkP108.gif


7. Open up a new 'Text.app' Document,

9. Go to the menu ‘Format’ and select ‘Make Rich Text’

10. Drag the ‘gif' files one by one on to the new Text.app Document. Making sure to start at number 01 through to 08 and each one drops underneath the last one .

11. Go to the ‘File->‘page setup’ menu and change the paper size to ‘A4’ if it is not so already.

12. Then go to the ‘File->‘Print’ menu . At the bottom of the print window you will see ‘save as pdf’

Click it.

13. Save your file and make sure the extension .pdfis on the end.

14. Open your file in your pdf browser. Done

==
I hope this helps.

On a side note. The ‘HomeworkP1.attachment00’ file is actually the html page.

I did find a way to use this and reset the images to show up in it using Mac Word, but thank god I worked out the obove way.
Although it worked fine, it was fiddly, and would have been a pain to explain in full.
But in a nut shell: change the ‘HomeworkP1.attachment00’ file to
‘HomeworkP1.mht’ and open it in WORD (mac).
the page opens without the images but maintains the page layout.
Now click on one of the image spaces and use the edit link menu. change the source of the files in order (top to bottom /1-8) and press ok. then click on one of the images again and use format picture to increase the size (use percents ). repeat for all. Ignore if the text looks ghosty. Now save as webpage. and then do your print-pdf bit.

All the best

Last edited by mark hunte; 12-01-2004 at 06:18 PM.
mark hunte is offline   Reply With Quote