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

Add Entourage to the Email Internet prefs panel System
Based on the add default web browsers article, add the following bit of code to the same file in the email section:
{
DisplayName = "Entourage";
Info = { CreatorCode = "OPIM"; };
}
This should add Entourage as a choice for email applications in the Email tab of the Internet preferences panel.

I tried getting Mozilla to work as the default mail app, but both CreaterCode = "MOZZ" or BundleIdentifier = "com.mozilla.mozilla" just bring up the browser, not a new email message window. I also tried stuff like BundleIdentifier = "com.mozilla.composer", etc.. but none worked. However, if you choose the "Select.." option in the default mail app selection and select Mozilla, it brings up a browser window with mailto:blah@foo.com, and then opens up a new email message window.. I prefer Entourage anyway, but this should still work someday.

[Editor's note: The path to the file to edit has changed sometime between the original article and today. The DefaultHelperApps.plist file can now be found in /System -> Library -> PreferencePanes -> Internet.prefPane -> Contents -> Resources -> English.lproj. I tested this hint, and it worked just as described. Make sure you put a trailing "," after the last close bracket if this is NOT the last email client listed.]
  Post a comment  •  Comments (1)  
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[3,058 views]  View Printable Version
10.1.3 update released System
In case you haven't checked your Software Update lately, you should do so now ... 10.1.3 has been released. Here's the blurb in the info box in Software Update:
Update 10.1.3 delivers enhancements that improve the reliability of Mac OS X applications, important security features and includes new and updated support for a variety of Digital Hub peripheral devices. Specific updates include:

CD Disc Recording Peripherals:
- Expanded support for QPS, EZQuest, LaCie, Yamaha, MCE Technologies and Sony devices

Image Capture and iPhoto:
- Improved support for several digital camera models from Canon, Kodak and Sony

Graphics and OpenGL Improvements:
- DVD Playback on external VGA displays on PowerBook G4
- PowerBook video mirroring will be on by default when connecting to a new display
- Improvements for iTunes when the full screen visualizer is used

Networking and Security Improvements:
- Login authentication support for LDAP and Active Directory services
- OpenSSH version 3.0.2p1
- WebDAV support for Digest authentication
- Mail includes support for SSL encryption
Post any observations you may have on the new update...
  Post a comment  •  Comments (37)  
  • Currently 1.83 / 5
  You rated: 1 / 5 (6 votes cast)
 
[7,683 views]  View Printable Version
A script to reset file permissions System
I screwed my OS by doing an APPLY on the top level disk information (command I) as root. Warning - this is extremely dangerous :) and easy if you are root. The apply does a RECURSE, not just apply the change you made, and doesn't warn.

Anyway, there is a Perl script by Larry Prall that reads the BOM, examines the file system and writes a shell script that will correct ownership, protection, and privilege problems.

I haven't run it yet, because an alternate is to just do an Install with the OS X disk (not the Restore CD set, just a regular disk). It will do an upgrade and just correct stuff. It even worked with 10.1.1 against a 10.1.2

This might save your life. Its in PERL, I checked it, but someone might want to do a test run on a scratch installation (I didn't want to risk running it after I managed to get my machine running again!).

[Editor's note: Just for the record, Apple does not recommend running an older-version system CD against a newer installed version; their current advice is that you must reformat and reinstall, which is not really a good choice for many people!]
  Post a comment  •  Comments (3)  
  • Currently 1.50 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (2 votes cast)
 
[4,725 views]  View Printable Version
Creating custom services with TextWielder System
Text Wielder is a "super services" application that includes about 120 different predefined actions. As a brief example, Text Wielder services can search for song lyrics, clean up email formatting, or get a map of a particular city or zip code. And since Text Wielder runs as a service, it's available to all Cocoa apps and a few Carbon apps (hopefully more in the future!).

One of the coolest things, though, is that you can use Text Wielder to write your own services. As an example, read the rest of the article for a step-by-step guide on creating a "Search macosxhints.com" service item for Text Wielder. This guide was contributed by Eric Blenkush, the author of Text Wielder.

If you would rather not create the "search macosxhints.com" service yourself, you can simply download it. Otherwise, read the rest of the article for Eric's great step by step guide...
read more (368 words)   Post a comment  •  Comments (4)  
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[3,986 views]  View Printable Version
Avoiding ._ filenames when copying files System
It is my understanding that when copying files from X to a drive formatted that doesn't have resource forks, a "._filename" file is created that holds the information. While this is apparently very important if you plan to move the file back, sometimes having that file can be in a pain.

On my Kodak MC3 digital camera/MP3 player, when copying files to it's music folder on the compactflash card via the finder, it creates "._filename" files that cause the camera to freeze for long periods of time when it encounters them. I found there was no way to delete them in X. However, after fooling around a bit in the Terminal, I found that using the 'mv' and 'cp' commands will move or copy files to the compactflash card without the ._ files.

And of course, if you don't like the terminal, an applescript studio app could be made relatively simple to copy these files with the cp or mv function, which is what I did to solve my own issue.

[Editor's note: For the newcomers to OS X, it's very important to note that if you wish to retain your resource fork information, you should NOT use this method of copying files from the Terminal! But it can be useful when transferring files to systems that don't understand resource forks.]
  Post a comment  •  Comments (13)  
  • Currently 1.67 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (3 votes cast)
 
[20,594 views]  View Printable Version
Auto sleep based on CPU usage System
In this Intelligent sleep/energy saver? thread on the forum site, Novajo offers up a script that can be used to put your Mac to sleep based on CPU load. The script is quite short:
set theLoad to do shell script "uptime | sed 's/.* //g'"

if (theLoad as number < 0.8)
tell application "Finder"
sleep
end tell
end if
Save the script, make it executable, and then use 'cron' to schedule it to run at regular intervals, and your Mac will put itself to sleep when the CPU load has been below your threshhold.

The forum thread has more info on the cron task if you'd like to see how that step is done...

[Editor's note: Script changed to reflect comments posted below - thanks all!]
  Post a comment  •  Comments (7)  
  • Currently 3.00 / 5
  You rated: 2 / 5 (4 votes cast)
 
[6,253 views]  View Printable Version
LaCie FireWire drive usage tips System
After experiencing a hard drive crash of my LaCie external 80 gig Firewire drive today, I can advise on how to avoid this based on what I learned from LaCie tech support:
  1. Don't use the drive out of the box in Mac OS X. It will work and appear to be fine, BUT it is formatted with Silverlining "which is incompatible with OS X".

  2. To prepare the drive first boot from the LaCie CD supplied with the drive and run Silverlining Pro.

  3. Check that the ATA-Firewire bridge firmware is the latest version (currently 3.12; mine was 3.11, which puzzled the tech support as drives should be shipped with the version provided on the CD. Update firmware if needed.

  4. Boot back into X and partition/reformat the drive using the Apple hard drive software supplied with X.
The good news is that Disk Warrior was able to rebuild the volume information on the drive with no loss of infomation and I was able to remount and backup files.

The bad news is that none of this would have occurred if LaCie had included some warnings and instructions with the drive.
  Post a comment  •  Comments (13)  
  • Currently 2.60 / 5
  You rated: 2 / 5 (5 votes cast)
 
[8,961 views]  View Printable Version
Display UNIX messages during startup System
If you are the old school type of linux/unix user that enjoys seeing all the bootup messages rather than the graphical bootup screen then this hint is for you.

From the terminal type:
  sudo nvram -p
This command prints out your current arguments for the settings. If you want to see the old school style bootup type this:
  sudo nvram boot-args="-v"
Reboot to see the effects. To change back to the regular bootup screen type the following:
  sudo nvram boot-args=""
(notice that the quotes have nothing in them.)

[Editor's note: Other than testing the "-p" option, I have not tried this tip myself, so I can't verify whether it works or not ... but it makes sense based on the output of the "-p" switch.]
  Post a comment  •  Comments (12)  
  • Currently 3.60 / 5
  You rated: 5 / 5 (5 votes cast)
 
[11,125 views]  View Printable Version
Close widget reflects document save status System
The next time you are in Word or TextEdit or even the terminal, look at the close button (red). If there is a small dot in the center it means that the document contains unsaved changes. This happens in the Terminal after you use the inspector to change something, but don't change the main preferences.

[Editor's note: I can't believe this hasn't been published here before, as it's one of the more basic element of OS X. The close widget will display a black dot in any Cocoa appliation document which has unsaved changes ... as noted below, Carbon application support is on an application by application basis.]
  Post a comment  •  Comments (8)  
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[2,143 views]  View Printable Version
A service to execute terminal commands System
I've written a service component called ShellService which allows folks to execute UNIX shell commands from a text window in an application like TextEdit or ProjectBuilder.

The component adds an "Execute Text" menu item. When you select some text and choose it, the text is sent to your MacOS X shell to be executed. The shell's output is then put into the text window.

Feedback welcome via the email links on the ShellService page.
-Christopher Corbell
  Post a comment  •  Comments (6)  
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[2,117 views]  View Printable Version