Preview Quit working

I dont know wehre to put this, but I was trying to Applescript Preview and broke it. It now no longer opens.

I did the following in terminal

from http://www.macworld.com/article/53391/2006/10/previewscript.html

and now when I goto view a file in Preview, Preview does not open. How can I fix this?

Hi,

I guess, you messed up the access privileges of Info.plist with the sudo command.
The current privileges are probably owner: system r/w - everyone No Access

These two terminal lines reset owner, group and privileges to the original settings

sudo chmod 664 /Applications/Preview.app/Contents/Info.plist sudo chown root:admin /Applications/Preview.app/Contents/Info.plist