On Feb 8, 2013, at 5:29 AM, Patrick Woolsey <
pwoo...@barebones.com> wrote:
> At 11:47 -0800 02/07/2013, vv wrote:
>> Clear recent items from Dock icon OSX for BBedit...
>>
>> How? I have cleared recent, closed, removed icon from dock, re-logged,
>> done all the things that 5 google'd articles told me to do, and I STILL
>> show lots of recent items when I right-click on the BBedit icon in the dock.
>>
> The recent item lists in the Dock are maintained by the OS, which (at least
> to my knowledge) doesn't provide any supported way to reset them.
I found this online and adapted to BBEdit. Change "bbedit" to "textwrangler" if necessary.
This Terminal command clears the list.
defaults delete com.barebones.bbedit.LSSharedFileList
These commands disable or limit the list.
defaults write com.barebones.bbedit NSRecentDocumentsLimit 0
defaults write com.barebones.bbedit.LSSharedFileList RecentDocuments -dict-add MaxAmount 0
These should undo the changes so the list is enabled again.
defaults delete com.barebones.bbedit NSRecentDocumentsLimit
defaults delete com.barebones.bbedit.LSSharedFileList RecentDocuments
If necessary you can restart the dock using this command.
killall Dock
The preferences files are in ~/Library/Preferences/. You can apply these commands to any app using the identifier which names the preference files in that folder.
From:
http://simon.heimlicher.com/articles/2011/07/26/disable-recent-items
[fletcher]