View Single Post
  #7  
Old 03-26-2006, 12:28 PM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
You could also use an "After copy" shell script to reset the launch services database. The command you use is:

Code:
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user
You can write a little shell script to do that, which'd look like:

Code:
#!/bin/sh
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user
Save that somewhere, set its execute bit with chmod +x the-script-name, and then set it to run in Advanced options.
__________________
--Dave Nanian
Reply With Quote