delete recent items in preview

Joined
Feb 17, 2011
Messages
3
Reaction score
0
Points
1
I want to delete the recent items list for good in preview. I want to go into terminal but need to know what code to enter. Thanks
 
Joined
Sep 9, 2009
Messages
5,473
Reaction score
201
Points
63
Location
Down Under :D
Your Mac's Specs
Back to my old 2.2GHz C2D MB after selling my MBP and wondering what my next Mac will be :)
Preview? As in the Application?
Go to Preview, file, open recent, clear menu!
 
OP
F
Joined
Feb 17, 2011
Messages
3
Reaction score
0
Points
1
Actually I want to prevent them from being there. I would like to set the limit to none.
 
Joined
Sep 9, 2009
Messages
5,473
Reaction score
201
Points
63
Location
Down Under :D
Your Mac's Specs
Back to my old 2.2GHz C2D MB after selling my MBP and wondering what my next Mac will be :)
I don't believe this would be possible, not even via terminal.
I don't see how clearing the history when you want to is so difficult, but perhaps there is an Automator guru out there who could figure out a way to do this for you each time you quit preview.
 
OP
F
Joined
Feb 17, 2011
Messages
3
Reaction score
0
Points
1
You are right it's not hard to clear it every time. But why not do it if it can be done. I like a challenge. I'm sure that someone can do it.
Don't fret 6 string, you did help me, thanks.
 
Joined
Jan 30, 2015
Messages
1
Reaction score
0
Points
1
Solution

From the command line...

defaults delete com.apple.Preview.LSSharedFileList RecentDocuments
defaults write com.apple.Preview NSRecentDocumentsLimit 0
defaults write com.apple.Preview.LSSharedFileList RecentDocuments -dict-add MaxAmount 0
killall Dock
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top