Ad:
How to clean up the Mac Open With dialog
#216 | 3:07 |
Tuesday May 12, 2009
Tutorials
Tuesday May 12, 2009
After installing a lot of programs on your Mac the "Open With" dialog can get completely overloaded. At some point you may get tired of seeing the huge list of programs every time it comes up. There is a solution. We'll show you how to clean the Mac Open With menu.
Download this episode now
Subscribe to this show 
Show Notes
- On your Mac double-click on Applications.
- In Applications double-click on the AppleScript folder.
- In the AppleScript folder double-click on the Script Editor icon.
- In Script Editor paste the following script:
<<--- BEGIN SCRIPT--->> COPY WHAT'S BELOW HERE -->>
display dialog "The Finder must quit and will relaunch after the Launch Services rebuild is complete. The rebuild may take several minutes, during which time you should refrain from using any other apps." buttons {"Cancel", "Rebuild LS Database"} default button 2 with icon caution
ignoring application responses
tell application "Finder"
delay 2
quit
end tell
end ignoring
delay 5
tell application "System Events" to set running_applications_ to get name of every application process
if running_applications_ contains "Finder" then do shell script "killall Finder"
do shell script "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user"
tell application "Finder"
delay 2
activate
end tell
tell me to activate
display dialog "The Launch Services rebuild is now complete." buttons {"OK"} default button 1 with icon note
<<--- END SCRIPT ---->> COPY WHAT'S ABOVE HERE -->>
- Make sure you have not included "BEGIN SCRIPT and/or END SCRIPT" in what you copied
- With the script pasted into Script Editor click Run.
- The script will run and you have to click Rebuild LS Database.
- The script will close Finder and may take a few minutes to clean everything up.
- When it's done a dialog will come up saying "The Launch Services rebuild is now complete." Click OK.
- Back in Script Editor click Compile.
- Go to close Script Editor and you'll be prompted to Save.
- Click Save and give the script a name like "Clean Dialogs," and select a location for it.
- Click File Format and select Application. Then click Save.
- You now have a little application you can use whenever you need to clean up your Launch services and Open With sections.
- In Applications double-click on the AppleScript folder.
- In the AppleScript folder double-click on the Script Editor icon.
- In Script Editor paste the following script:
<<--- BEGIN SCRIPT--->> COPY WHAT'S BELOW HERE -->>
display dialog "The Finder must quit and will relaunch after the Launch Services rebuild is complete. The rebuild may take several minutes, during which time you should refrain from using any other apps." buttons {"Cancel", "Rebuild LS Database"} default button 2 with icon caution
ignoring application responses
tell application "Finder"
delay 2
quit
end tell
end ignoring
delay 5
tell application "System Events" to set running_applications_ to get name of every application process
if running_applications_ contains "Finder" then do shell script "killall Finder"
do shell script "/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user"
tell application "Finder"
delay 2
activate
end tell
tell me to activate
display dialog "The Launch Services rebuild is now complete." buttons {"OK"} default button 1 with icon note
<<--- END SCRIPT ---->> COPY WHAT'S ABOVE HERE -->>
- Make sure you have not included "BEGIN SCRIPT and/or END SCRIPT" in what you copied
- With the script pasted into Script Editor click Run.
- The script will run and you have to click Rebuild LS Database.
- The script will close Finder and may take a few minutes to clean everything up.
- When it's done a dialog will come up saying "The Launch Services rebuild is now complete." Click OK.
- Back in Script Editor click Compile.
- Go to close Script Editor and you'll be prompted to Save.
- Click Save and give the script a name like "Clean Dialogs," and select a location for it.
- Click File Format and select Application. Then click Save.
- You now have a little application you can use whenever you need to clean up your Launch services and Open With sections.
App of the day
Weibo iPhone
Sina Weibo, an informal mini-blog product, is a new expression to Web2.0.
