I was reading a thread in hear talking about a problem with Services ( Mail, Grab, OmniDictionary, etc. -- Oh yeah, don't forget Quake 3 Arena [1.29f] ), namely that you can't know which Service is going to get a key if they both have it defined for a shortcut.
I ran into this problem myself today. I downloaded OmniDictionary and InstantLinks, and they both define the same two keys for the same two options ( "Lookup in Dictionary" and "Open URL" ). I prefer OminDictionary's much more featured lookup ( InstantLinks just jumps to m-w.com ), but Instant had taken over the 'Command-=' key. I tried a number of experiments to see if I could control which Service got the key. I thought perhaps the "Install" order might have something to do with it, but no cigar ...
[Editor: If you're interested in changing the keys assigned to various system services (available under the "Program menu" in the menubar), read the rest of this article for the how-to ... it's fairly easy, and definitely a handy tip!]
[Editor: Please see the comments; this is probably NOT the best way to do this!! Kill is fairly abrupt, and will end ALL terminal sessions. The comments have some alternative.]
This is one I've been trying to figure out for quite some time and finally managed to figure out so I thought that I'd share it with you.
I wanted to run a shell script from the GUI and have the Terminal close itself down at the end of the script. The only way I knew to do this was to use a modified version of the Dock Restart script from elsewhere on this site. i.e.
but this would result in a "Application unexpectedly quit" error message. If you change the line "kill $TERM" to "kill -9 $TERM" the error message no longer appears. Simply add those lines at the end of your script to make the Terminal vanish when the script is complete.
So now to make a script executable from the GUI.
1) Type the script in your favourite plaintext editor, include the above script at the end.
2) from the terminal run "chmod +x Text.file" (Where Text.file is your files name)
3) In the Finder do a 'get info' on your text file and change the Application to Terminal.
4) Double click the file and voila a script that runs itself and then quits the terminal with no error.
If you have enabled your dock to be moved to corners and sides (see Move and corner your dock), one of the small annoyances is that the pinning and orientation revert to bottom middle after a logout or restart.
I noticed this morning that Frank Vercruesse has released DockLock 1.0, which exists solely to restore your preferred dock pinning and orientation settings automatically.
Until Apple decides whether to officially support pinning and orientation, this seems like the best solution for those that prefer their dock in positions other than bottom middle. I tested it, and it does exactly what it claims to do.
Another trip down nostalagia lane! If you enjoyed the article on playing Zork on OS X, you may also be interested in playing the Scott Adams' Adventures on your OS X box.
These were text-based adventure games written for a number of early computing platforms, including the Apple ][. You can read more about Scott Adams and his adventures on his home page. As I recall, there were about a dozen or so, all using the same basic two-word parser and featuring some good puzzles.
Over on the MacFixit boards, CapVideo has posted an explanation on how to run Scott's adventure programs under Mac OS X. If you're interested, check out the Scott Adams' Adventures thread for the details. You'll need the Developer Tools installed, and should be relatively comfortable with the command line.
I wasted a number of hours on Scott's adventures in my Apple ][ days; I can't wait to try these out this weekend!
By default, Apple's mail.app will mark a message as 'read' as soon as you click on it. There's no preference setting to prevent this from happening, but a member of the Apple mail team gave one workaround on the X4U mailing list.
Simply move the "preview" horizontal divider (the line that separates the incoming mail list from the message body) all the way to the bottom of the screen. The easiest way to do this is to double-click the line itself. This causes the Preview panel to vanish, and messages will no longer be marked read as soon as you click on them.
[Editor's note: This tip was submitted last weekend by an anonymous reader]
There are many "alternate" little applications and hacks for people who want to change their Mac OS X experience. One of my favorites is MenuStrip, the $7 program that gives you a bunch of useful buttons to put along the top right of your window. Very Mac-like, you can choose what it will display, so it's minimalist, as it should be.
The best button is the "hide all apps" button, so you can get rid of all those windows in a flash. I have a KeyQuencer macro do this on Mac OS 9 -- press a key, get rid of all apps and bring up the Finger -- and MenuStrip brings this functionality to OS X. Very nice.
Holding down the option key while perusing the Finder menus reveals some neat options for manipulating windows. OmniWeb also reveals several options which are not otherwise available directly from the menus.
I guess these are some of the little things that Jobs said wouldn't be found for a while, but show the detail put into the interface. I tend to agree.
If you use the Address Book application, there are some pretty nifty things you can do with it. While reading this month's MacWorld (pick it up if you don't have it yet; they have some great OS X info in this edition!), they mentioned one tip I hadn't run into yet.
Open the address book, and click and hold on the little "person" icon next to any name. You'll see a mini business card appear, which can be dragged anywhere. Drag it onto the desktop, and a little "virtual business card" appears - simple double-click access for anyone's address. Drag it into a Cocoa application, and the field names and values for that card will be pasted as text. I'm sure there are more tricks, but those two are quite useful all by themselves. I haven't spent much time with the Address Book (keeping my fingers crossed for Palm!), but it's a handy little application.
I had been getting really sick of my puck mouse when I downloaded Toon Boom Studio, and found it came with a Wacom tablet driver that isn't available, as far as I could tell, from Wacom. Be warned though. This driver proves that OS X isn't entirely crash proof, it can and probably will bring down the whole OS a couple times.
Reader 'brodie' sent this one in a couple of days ago, and I missed it in the queue...
If you have mail rules which conflict with one another (for example, anything that doesn't contain 'email@example.com' in the "To:" field gets moved to a "spam" folder, but you also want to move everything to 'firstname.lastname@example.org' into a "pending" folder), then all you need to do is drag the rules into the proper order within mail's rules panel. In this example, you'd drag the "doesn't contain my username" rule to the top, followed by the "move to pending folder" second. This way, your spam would get filtered first, and then remaining mail would get moved to the "pending" folder.
Rules are created and managed in the Mail -> Preferences menu item.