Hi All

Just thought I'd share this....

After using Preview for a while (in Lion), I found that I didn't really like 
the way it's "Recent Items" worked.
To help explain it a little more.

Open Preview, then go to the File Menu and look at "Open Recent".
Fair enough,..it will list all the last few (lots?) of items you've looked at. 
And it's got a "Clear List" in the menu. 
Now, if you right click (or Control Click) on the Preview icon in the Dock 
you'll see a list of the "recent" items you've looked at. Possibly longer then 
the "Recent Items" you looked at from the menu.

This is where it gets interesting.....
Now, I want to clear the Recent Items. So, ok, easy,...I go to the File Menu, 
Choose "Open Recent" and then choose "Clear List". List gone! (or so you think).
If you look at the Recent Items from menu,..yes, it's gone. However, if you 
right click (or Control click) on the Preview icon in the Dock, you'll see it's 
still there.

After a bit of looking around, I found it wasn't all that easy to actually 
clear that list from the Dock "recent items" pop up list.

So I thought I'd share it here in case anyone was interested, and for those 
that might not want it to remember these items.

You need to find the "Identifier" for Preview first. This is com.apple.Preview.

Next you need to open Terminal (which lives in Applications folder then 
Utilities.)
In Terminal you want to copy and the paste the following:-
(Copy each line, then hit Return on the keyboard where I've put it in brackets).

defaults write com.apple.Preview NSRecentDocumentsLimit 0
(Hit Return)
defaults delete com.apple.Peview.LSSharedFileList RecentDocuments
(Hit Return)
defaults write com.apple.Preview.LSSharedFileList RecentDocuments -dict-add 
MaxAmount 0
(Hit Return)
Restart the computer.

What this will do is clear the list from Preview and then not remember any 
Recent Items at all. Great!


Why would I want this you may ask? Fair question.... :)
While it may be useful sometimes to gain access to items I've looked at before, 
I was more concerned with pdfs and items that I'd opened or looked at for 
clients with a Confidential nature. Or quotes and price lists I'd previously 
gone into, also showing as well.
I know my machine is "locked down" with a password for everything and normally 
I'm only the one using it. But I still feel "better" that when I'm using my 
machine to show off something to a client that should I right click on Preview 
in the Dock to show something off that other client's info (names in quotes 
etc) would show up in the list.
I'm a bit of a stickler for keeping info off my Desktop and out of sight if I'm 
showing something off to clients or other people.

I'd rather lose the "slightly" used Recent Items for the knowledge of an empty 
Pop up list from Preview in the Dock. :)

Apologies for the long post,..was aiming to get it all as clear as possible.
The information was taken from this site and changed to work with Preview. 
Obviously it can be used for other items as well.
<http://simon.heimlicher.com/articles/2011/07/26/disable-recent-items/>

Hope some find that useful.


Kind regards
Daniel
---
Daniel Kerr
MacWizardry

Phone: 0414 795 960
Email: <daniel AT macwizardry.com.au>
Web:   <http://www.macwizardry.com.au>


**For everything Macintosh**

-- The WA Macintosh User Group Mailing List --
Archives - <http://www.wamug.org.au/mailinglist/archives.shtml>
Guidelines - <http://www.wamug.org.au/mailinglist/guidelines.shtml>
Settings & Unsubscribe - <http://lists.wamug.org.au/listinfo/wamug.org.au-wamug>