Most people know by now that you can hold down the command key and drag around a background window without bringing the window to the front. However, I also discovered that you can hold down the command key and do just about anything in a background window that belongs to a Cocoa application without bringing the window forward. You can resize the window, move scrollbars, click buttons, and pop up menus, among other things.
You can't, however, click buttons that are in customizable toolbars. This is because you can command-drag a toolbar button to a different position in the toolbar, or off of the toolbar completely, regardless of whether the window is is front or not.
I built a hello world simple application that built great. That simply means that it compiled. I did this in my home directory in a terminal application. It compiles to a.out. When I try to run this application it says I cannot find a.out. Any clues on how I can make this work?
[Editor's Note: This is the most detailed how-to I've received in six months' running this site! I have not used the tutorial, mainly because I already have this group of programs running, but this looks like a very good step-by-step on how to get them installed. -rob.]
[Second editor's note: I received a referral to another site with a step-by-step guide for compiling all three of these programs from source; I haven't used it, but it's a similar step-by-step tutorial, but it doesn't use any package files.]
Compiled and partly written by Vip Malixi with contributions from Scott Anguish, René Voorburg, Matthew Vaughn. The following tutorial is a comprehensive set of instructions for installing a new version of Apache (1.13.19), along with PHP 4.04 and mySQL 3.23.28. In order to follow these instructions, you will need to have (a) root access [detailed elsewhere on the site] and (b) the developer tools installed.
If you'd like to see how this is done, please read the rest of this article for a thorough, step-by-step guide to the process.
One of the best new features in OS X is the ability to batch-convert application links for various documents. Before finding this, I had inadvertently started up Classic simply by clicking on a .jpg file that could have been viewed in Preview instead. To make the files open a different application, shift-click to select as many of the same document type as you want (for example, 100 .jpg files), then choose Show Info from the File menu in the Finder. Select Application in the pop-up menu and you will be able to select any application you wish to open the files. Once you've made your choice, the batch-conversion is nearly instantaneous.
People may already know this but for those that don't:
You can add several different network configurations in the Network System Preferences panel. For instance if you have several different ISPs. To do this you go to the panel and select advanced options from the drop down menu. Then click New and enter something in the name box (could be the isp name or random numbers it doesn't matter really) and the modem port that you want to use for the connection. Then click ok and return to the advanced section. Then using the drop down box select your new network configuration and enter all of the details. Then when you next go to the internet Connect app you will be able to select between the two connections via the drop down menu at the top. It seems to work quite well. You don't even need to restart internet applications.
If you normally leave the dock visible, it sometimes gets in the way when apps (especially Classic apps) take over the whole screen. It's a pain to mouse to the dock, switch the setting to autohide, do what you want, and switch it back to always show.
A much easier method is to hit Command-Option-D, and the dock will hide. Do what you need to do, and hit Command-Option-D again, and the dock will show itself.
Caught this one on the MacFixIt boards tonight...of course, from comment #1, I should have 'caught' it by just looking at the Apple menu! Oh well, it was a long day!
Open TextEdit, create a new document, and then drag in an application ("Clock", for example) from the Finder. You'll see a clock icon appear in your document. If you save the document, it will be in "rtfd" format, which the Finder tells me is "RTF with attachments." If you look at the size of the file, you'll see that, in fact, the entire app has been saved with the document! Now open the file you just saved. Double-click on the application icon (the clock, in this example). The application launches right from TextEdit!
I have no idea as to how this might be useful; maybe it's a standard data format (but I've never heard of embedding an application in an RTF document?). There's nothing in Apple's help about this 'feature', so this is about all I know. Anyone care to shed any more light on the subject?
If you ever want to send email through one POP account, but with different sender info, there's a trick to doing so with mail.app. An example of this would be Yahoo! services, which allow one to have several public "personalities", each of which dump email to just one yahoo.com email address. In order to respond as the proper personality, you need to pick a different "from" address, even though you have only one POP account.
In mail.app, in the Account edit screen, you can enter multiple email addresses on the 'Email Address:' line. Separate each with a comma, and then save your changes. When you compose a new email from that account, you'll see a little pop-up for selecting which address you would like to use as the sender of the email. Very slick trick, and easier than creating an entirely new account.
You can't change the physical name, though - only the email address. If you need a different physical name, you'll have to set up different accounts.
Apple's mail.app stores most of the text strings it uses for creating replies, displaying dialogs, and composing new messages in an easy-to-edit text file. If you haven't relocated your mail.app, you can find the text file here:
When I tried to edit this in the terminal, all I got was gibberish - it's a Unicode text file. Opening and saving it in the GUI works fine; you just have to use a control-click on mail.app to "Show Package Contents" in a new Finder window, and specify which application to open it with (I used TextEdit).
Amazingly enough, the text file is even commented, explaining what each line does. You'll have to do some work to change the default reply string ("On March 23, robg wrote..."), as the date format strings are all variables - I imagine they match those used by the system date command, which you can view in the man pages:
Have fun customizing, but you should probably make a backup copy of the unmodified file first -- just in case! Any changes made take effect on the next launch of mail.app.
Panther update: As noted in the comment below, you now need to edit /System -> Library -> Framework -> Message.framework -> Resources -> English.lproj -> Message.strings. In addition, you'll have to reboot after making the change to see it take effect.