From: Hans Rijnbout on
JD <JD_member(a)newsguy.com> wrote:


> My iWorks 09 and TextEdit icons have disappeared on saved documents.

Does iWorks open when you double-click one of those iWorks documents?
If not, you probably have a problem in your Launch Services database.
You may rebuild this database with the following Applescript (pasted as
a quotation to preserve the script lines, so you have to unwrap the
lines and then remove the > after pasting into the Applescript editor)

> 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/
ApplicationServices.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

--
Hans Rijnbout
Utrecht, Netherlands