In Mail.app, you can drag and drop a folder from the finder onto the body of a new mail message. Mail will ask if you want to copy the entire folder, or make an alias. I made an alias of a folder, and sent the message to myself. When I got the message and clicked on the folder alias, it popped up the finder window of the folder!
Warning-- If you try this with a folder containing lots of items/subfolders, the resulting mail message will be HUGE. It seems as though mail tried to attach everything in the folder--even tho the folder itself was an alias.
I'm wondering what would happen if you sent a folder alias to another OS X user? Probly just a broken link would result? What if the folder exists in the same place on the recipient's machine?
Read the rest of this article if you'd like to see the mail.app messages from this aliased email.
This is another one for the department of the obvious, but I finally noticed that it's quite easy to add words to the system-wide dictionary (the Public Beta had no means of adding words). The dictionary is used in Cocoa apps such as OmniWeb, TextEdit, and Stickies.
To add unknown words, simply control-click (or right click if you can) on the underlined word, and you'll get a contextual menu that contains suggested corrections, as well as "Ignore Spelling" and "Learn Spelling". Cool!
While trying to help me debug a glitch on my particular DragThing installation, James Thompson pointed out a nifty little tool built into OS X but not enabled by default. The tool is called "Crash Reporter," and it's quite easy to enable.
Open a terminal session, navigate to /etc, and edit (in vi, emacs, or pico) hostconfig. Add a new line (at the end, if you wish) that reads
Save the changes and exit the editor. On your next reboot, the Crash Reporter will be active. To make it work immediately, type
in the terminal window [Note: I haven't tried this myself, and a posted comment seems to indicate that it doesn't work; a reboot may well be required.]
Once activated, when an application crashes, you'll get a dialog box with the option to write details to a log file. If you say yes, details are written to a log file kept in /var/log/crash.log. Some of the info there can be useful, if not to you, then to the author of the program in helping them debug the problem.
Webmonkey has posted an in-depth article covering Apache, PHP and mySQL on Mac OS X. It's written with a UNIX novice in mind, and walks you through the steps required to get each application running. It also includes an overview of Tenon's iTools.
A good read, and helpful if you're just getting started with this stuff.
There's a new thread on the MacNN forums that discusses the how-to's of editing the Mac OS X extras.rsrc file, which controls the overall appearance of the system. The first post is a nicely detailed how-to, and there are a couple of clarifying follow-ups.
You'll need a copy of Theminator, which is no longer actively distributed, but can probably be located on the net with some sleuthing.
So head on over to MacNN and give the article a read if you're interested in modifying your system's appearance. Note that anyone distributing modified extras.rsrc files has been hit fairly heavily by Apple legal, so you should plan on keeping your modifications to yourself.
Another great reason to use OmniWeb -- OmniWeb's View Source is also an HTML editor!
The source pane is fully editable. Save will save over a local file and will make a new local file if it the page was serverd from a web server. Additionally, Store will store it back onto the server using WebDAV.
The kicker is that you can play around with remote files that are not your own VERY quickly.
Find any page on the web, View Source, make a few changes, and hit the Redisplay button. Voila! You will see your changes back in the browser in context with the rest of the original page. Pick apart layouts tricks at light speed...
If you'd like to have an application running, but without a dock icon, there's a way achieve this by modifying the application's plist file. Read the rest of this article if you'd like the (fairly simple) instructions.
NOTE: This one goes in the clearly 'experimental' category. I have not tried this myself yet, but the source (the X4U mailing list) is generally good, and it seems to make logical sense. Use at your own risk!!
How can one kill a root-owned process? I installed mysql and have it loading itself automatically on login. However, I need to kill it to reconfigure it and I realized I can't do so. In process viewer it shows that it's running, and that it's owned by root, but it won't let me kill it because I'm not root. If I use terminal and use the su command to become root, it doesn't show the mysqld process, only ps and tsch.
Any ideas how to either kill the process from within OS X or how to switch to the root user in terminal such that I can see the processes?
I recently installed OS X and it's great. I installed apache, php, and mysql so I can develop and test locally. I love it, but I've been missing one thing. A good text editor.
I've downloaded pepper, jEdit, and several others. But I still preferred the classic app BBEdit. Pepper was great, but it doesn't have support for PHP and it costs $45(unless you can handle waiting 10 seconds every time you save). jEdit is even better. It has syntax coloring and everything. However the interface lags and the lack of drag and dropping files into the app sucks. Maybe your experiences were better, but I ended up going back to TextEdit. But it has it's problems too. Some files can't be opened to text and I just don't like it for what I'm doing.
Anyways I was looking through the developer examples and messing around with Project Builder and decided to try open my php files with it. It's great! There's no syntax coloring for php, but there's many other useful features. I even created a project file for my php program that I'm working on. Then I have access to any of my files with a click. The find feature is really good and lines can be found by cmd-L since it doesn't show line numbers. I like the indenting features too. If your doing any type of web developing and don't have a good text editor, try this.
Now only if Apple would add support for more programming languages.