Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.3: Print web pages to TextEdit Apps
Many web sites, especially news sites, offer some sort of "printable page" option. For an example, click on "Print Hint" below. One advantage of OS X is "Print to PDF" to render nice digital copies of such pages to file and read later. However, "Print to PDF" offers at best limited control over how the page(s) looks, and does not imbed links. With Panther, one can instead "select all" on the desired web page, then copy and paste (or select "New Window Containing Selection" under Services -> TextEdit) into TextEdit: this will preserve the style, color, etc. of the text -- as well as imbed (most) images and links (though background colors and multi-column pages are not preserved). Unlike PDFs, one can then easily edit the resulting file -- changing fonts or margins, editing out any unnecessary content (such as banner ads), etc. -- and still preserve the URLs within the file for future reference. (And then print the result to PDF, if desired.)

By contrast, in Jaguar the same action captures neither the clickable links nor the images.
    •    
  • Currently 2.43 / 5
  You rated: 3 / 5 (7 votes cast)
 
[12,747 views]  

10.3: Print web pages to TextEdit | 19 comments | Create New Account
Click here to return to the '10.3: Print web pages to TextEdit' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.3: Print web pages to TextEdit
Authored by: Lord Brixton on Nov 19, '03 11:30:50AM

only works in safari, not in explorer as far as i can see…



[ Reply to This | # ]
10.3: Print web pages to TextEdit
Authored by: davidcrickett on Nov 19, '03 11:48:53AM

well, who uses explorer anyway? ;-) Now that I'm here: For those who writes journals blogs etc. MacJournal is an extended TextEdit. Very cool, take a look!

---
davidcrickett



[ Reply to This | # ]
MacJournal
Authored by: terceiro on Nov 19, '03 01:57:01PM

Additionally, MacJournal supports PDF viewing in-line as well. So you can mix rtf files, images, MS Word docs (!), and PDFs all in one journal, all by dragging and dropping. And it's all stored in the MacJournal database.

That's one slick app. I love it, seriously. And for free! Nice call on the cut-and-paste directly into MJ, btw. I hadn't seen that.



[ Reply to This | # ]
10.3: Print web pages to TextEdit
Authored by: Graff on Nov 19, '03 10:37:11PM

It also doesn't work in OmniWeb 4.5. You get the styled text but no images, links, frames, etc. This is pretty much a Safari-only hint so far.



[ Reply to This | # ]
10.3: Print web pages to TextEdit
Authored by: Han Solo on Nov 19, '03 10:52:43PM
Yes, I concede I only tested this hint in Safari -- I didn't realize I hadn't mentioned Safari in the hint. Too bad it doesn't work in other browsers, but it is a nice perk and significant improvement over Jaguar.

For those who really need this functionality, a switch to Safari (if they aren't already using it) seems necessary. I wonder what percentage of Mac OS X users do not use Safari? I'd guess a sizable majority do use Safari, but actual data (as opposed to a whole bunch of individual anecdotes) would be interesting. Rob, do you have access stats by browser and platform for MOXH?

[ Reply to This | # ]

10.3: Print web pages to TextEdit
Authored by: Graff on Nov 20, '03 03:25:31AM

I use OmniWeb because it is pretty much Safari with more options. It uses the same rendering engine as Safari and has much better filters, cookie handling, bookmarks, browser versioning, forms handling, etc. Safari does a few tricks better too, such as tabs and all. It all comes down to preferences but OmniWeb definitely gives Safari a run for it's money.



[ Reply to This | # ]
10.3: Print web pages to TextEdit
Authored by: cranfordio on Nov 20, '03 10:10:10AM

OmniWeb gives Safari a run for its money!!!!

Safari is free, OmniWeb is $30, i think my money is much better spent on Safari.



[ Reply to This | # ]
10.3: Print web pages to TextEdit
Authored by: Graff on Nov 20, '03 05:18:32PM

You only get nagged once in a while with OmniWeb if you don't register it. The registration nag is actually kinda funny too, I used to enjoy seeing it actually.

I gladly payed for OmniWeb considering how much work they put into it and all the cool features it has over Safari. $30 is chump change considering the fact I probably use it at least 1/2 hour a day every day. In one year alone that works out to 16 cents a day. It's been a couple of years since I've registered so I've definitely gotten my moneys worth from OmniWeb.



[ Reply to This | # ]
Looking for help with an applescript for this...
Authored by: kafka007 on Nov 20, '03 07:15:31PM
Since this is about as close as we're going to get to the scrapbook function found in IE (saving whole web pages in one file), I've been trying to automate this with an applescript.

Unfortunately, I don't know diddly about scripting and could use some help.

Here's what I have so far:

tell application "Safari"
	activate
	set t to name of window 1
end tell
set the clipboard to ""
tell application "System Events"
	tell process "Safari"
		click menu item "Select All" of menu "Edit" of menu bar 1
		click menu item "Copy" of menu "Edit" of menu bar 1
	end tell
end tell
tell application "Safari"
	activate
	set t to name of window 1
end tell

tell application "TextEdit"
	activate
	make new document at the beginning of documents
	set name of window 1 to t
end tell

tell application "System Events"
	tell process "TextEdit"
		click menu item "Paste" of menu "Edit" of menu bar 1
		click menu item "Save" of menu "File" of menu bar 1
	end tell
end tell

Now, obviously, this does not quite work as intended. It does select the contents of the page in Safari, copies and then pastes it into a new document in TextEdit.

What I'd like it to do is this: After the paste into TextEdit, automatically have the file named after the window in Safari and saved in a specific folder (for example, "~/Users/MyName/Documents/Web Snapshots/"

At this point, I give up. But I would love to use this while in Safari to archive articles without any fuss. Can anybody lend a hand with this little project?

I also thought others might be interested in using this, too -- once it's finished!

Thanks for your time.

[ Reply to This | # ]
10.3: Print web pages to TextEdit
Authored by: shogunjp on Nov 19, '03 12:19:59PM

If you are using Camino or (I think) any mozilla (1.2 or better) browser you can just go to file > Save As.. Choose HTML Complete (if it is not the default) give it a name "aname" and it will create "aname.html" and a folder called "aname".
Inside the folder will be all the images from that page etc.
and opening aname.html will give you an _identical_ page to the one that it came from! (I now use this for all my airline reservations/mapquest directions!)



[ Reply to This | # ]
10.3: Print web pages to TextEdit
Authored by: swanksalot on Nov 19, '03 12:59:35PM

The one (obvious) caveat is if you have TextEdit's preference of new documents set to Plain Text (as opposed to Rich Text), you only get words without styles, colors, etc. Not that it really matters, but FYI.



[ Reply to This | # ]
10.3: Print web pages to TextEdit
Authored by: jonahlee on Nov 19, '03 05:18:51PM

Doesn't work with Mozilla Firebird either, which I find much faster, more reliable on web pages, and more fully featured than Safari. Must mean that Firebird is a Carbon app instead of a Cocoa app so the services don't work! Wow it is scary how fast Firebird would be if it was Cocoa code if it is this fast as a Carbon app!

---
- Jonah Lee



[ Reply to This | # ]
10.3: Print web pages to TextEdit
Authored by: pmccann on Nov 19, '03 06:56:03PM

Cocoa apps don't necessarily have a speed advantage over Carbon apps, except perhaps in the speed with which they can be developed **from scratch**. Some would even argue the contrary, but I'm not going there today!



[ Reply to This | # ]
10.3: Print web pages to TextEdit
Authored by: truhe on Nov 20, '03 06:42:42AM

carbon apps can also use services.



[ Reply to This | # ]
10.3: Print web pages to TextEdit
Authored by: phljoe on Nov 20, '03 06:43:47AM

Then from Text Edit you can copy and paste into Mail app and have HTML email also with embedded links.



[ Reply to This | # ]
10.3: Print web pages to TextEdit - HTML email
Authored by: MtnBiker on Nov 20, '03 12:46:19PM

This deserves to be a hint of its own.

---
Hermosa Beach, CA USA



[ Reply to This | # ]
10.3: Print web pages to TextEdit - HTML email
Authored by: MtnBiker on Nov 23, '03 10:11:23PM

I take that back, because it doesn't work. Embedded links don't link. Things that look like links may (http://foo.com), but not truely embedded links where the link isn't seen on the original page. As usual YMMV.

But the original hint is great, I now save pages (or parts thereof) in TextEdit. Great to have the hidden links working. I often had to paste them in by hand when saving pages. MacJournal looks like it may work well too. If it only had styles.

---
Hermosa Beach, CA USA



[ Reply to This | # ]
10.3: Print web pages to TextEdit
Authored by: seedy on Nov 20, '03 10:42:54AM

If you use Mozilla (and probably Thunderbird) you can also copy web pages and paste them into an email and the HTML formatting will follow. This is especially useful for sending someone a fragment of a webpage that includes a table, or for printing it.
<p>
Just swipe-select what you want in a Mozilla browser page, copy (Cmd-c), then paste (Cmd-v) into the body of an email. A caveat is that deleting an unwanted table is difficult, so choose precisely.
<p>
Since Mozilla's email client (and again, probably Thunderbird, haven't used it since 0.1) has many of the features available in Composer (web-page builder), you can also build a decent webpage in an email if you feel the need. One simple feature that I use frequently is Cmd-L, which brings up a dialogue for embedding a link, but there are many others, including rollovers and tables.


---
If a man says something in the forest and no woman is around to hear him, is he still wrong?



[ Reply to This | # ]
10.3: Print web pages to TextEdit
Authored by: LC on Nov 21, '03 03:17:16PM

Stickies too;



[ Reply to This | # ]