By default (with no way to change it, apparently), Safari will open a new window when opening external application links (like from Mail or TextEdit), instead of reusing the same window or opening a tab. However, if the current tab is blank -- i.e., you've just opened it with no web page displayed -- Safari will use that tab instead of opening a new window. A little bit of a time saver, as opposed to consolidating windows by shuffling around the URLs.
You know how Command-Click opens a link in a new tab in Safari Beta 2? Well, I just stumbled on this: If you have a folder full of links in your Bookmarks Bar, Command-Clicking on the folder will immediatley open all the links in the folder in their own tabs within one window. I just opened 20 sites in one click! Now to create a quick-access folder to make good use of this feature.
I accidentally found out how to switch between open tabs in Safari Beta 2 without reaching for the mouse. You just have to press Command-Shift and at the same time, use the left and right arrow keys to move to the left or to the right through your opened tabs.
You can spell check in Safari when posting in online forums, thanks to its Cocoa roots. Here's how:
Highlight what you wrote and Control-click on the highlighted text.
Select Spelling from the contextual menu and then Check Spelling from the submenu.
OS X's spell checker will kick in and check spelling for you. Control-click any underlined words and select the correct spelling from the results.
[robg adds: I find it highly ironic that this hint was submitted as "Youc an spell check..." :-). In any event, this is not really a Safari feature, it's a Cocoa feature, and it's available in any Cocoa application with an input box. It would be nice, though, if (like iChat) you could permanently enable "Check Spelling as you Type." There's a menu item for it (Edit -> Spelling), but you have to select it for each input box, every time!]
A quickie announcement before this morning's hints: Safari Beta 2 is now available!
Officially, beta2 adds (lifted from the above page): "... tabbed browsing, autofill forms & passwords, privacy 'reset,' import of Netscape and Mozilla bookmarks, increased standards compatibility, improved AppleScript support, and localized language support for English, Japanese, French and German."
As many of you may have realized by now, Safari has poor printing handling. Perhaps the worst bug is text clipping at the bottom of the page.
I have found a way of printing web pages nicely without too much hassle. From Safari, select File menu -> Save As... Save the document somewhere it will be quick to access. Then, drag the newly created Safari document onto TextEdit.
Once TextEdit opens the web page, you can print it from there and you'll have a perfect print, as long as TextEdit renders the HTML file (which may not always be the case until Apple unifies the HTML rendering library in Mac OS X with WebCore).
[robg adds: I don't do a lot of web printing, but I did notice a couple of glitches in Safari's output. I took a different route to the solution by dragging the URL to one of the other browsers. However, this won't work for pages (like most online store receipts) that are dynamically generated through your session, in which case, the above solution will work. I'm sure there are other workarounds, of course...]
Gnome, a software developer and macosxhints reader, created a technique to enable autofill in any browser using a simple online form. He originally posted a beta in this macosxhints' forums thread. This is such a valuable enhancement that I thought (with the developer's approval) it worth a hint. Here's the description of Pseudo Autofill:
It works better than the original IE Autofill in my experience, in that it will work in any browser ... gasp, even those on Windows!
I can't take credit for this because I was told of its existence by Simon Fraser, a Camino (previously called Chimera) developer. There are hidden preferences in Camino that can be set via a special user.js preferences file. The file needs to be created in this path: ~/Library -> Application Support -> Chimera -> Profiles -> default -> random.slt, where random.slt is uniquely named for each user (for security reasons).
The user.js file can contain different settings for preference variables (thus over-riding prefs.js settings), as well as some other "hidden" settings. In my case, I wanted to recover the ability to download files with a save window that allows me to select a different directory each time. So I made a file called user.js in the noted directory, and put the following single line in it:
As far as I know, this one is not documented anywhere.
[robg adds: This hint is kind of the "parent hint" to a number of others concerning Chimera's hidden preferences; this search URL will return a list of 12 previous hints that mention some hidden Camino preference settings. The Camino "hidden preferences" page referenced above is a bit of a tease; they list three hidden settings and then basically tell you to go explore on your own ;-).]
I have to open RTF files every now and then, generally Read Me files for applications. But I don't like waiting for TextEdit to launch and then quitting it afterwards.
However, since I keep Safari open all the time, I have something much easier and quicker. Safari can read RTF files, so all I do is drag the file onto the Safari icon in the dock and it opens it right up, quickly and easily. It's much nicer than using TextEdit.
The only caveat is Safari can't read RTFD files, so if you have one of those you're stuck with TextEdit.