Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

McBgnr

macrumors regular
Original poster
Apr 13, 2009
144
0
Hello,

I want to write a program to delete recent items list displayed in the Apple Menu.

All I could find is that the com.apple.recentitems.plist maintains a list of the recent items. However, deleting this file does not clear the recent items list. I am now looking for something which could clear the recentitems list which is loaded in parent process memory.

Any suggestions to solve the problem are welcome.
 
Spotlight LSSharedFileList.h - looks like it can be done with the functions in that file.
 
Hello,

I want to write a program to delete recent items list displayed in the Apple Menu.

All I could find is that the com.apple.recentitems.plist maintains a list of the recent items. However, deleting this file does not clear the recent items list. I am now looking for something which could clear the recentitems list which is loaded in parent process memory.

Any suggestions to solve the problem are welcome.

A jumping off place is decoding the com.apple.recentitems.plist file then converting the code into Applescript.

HTH ... Cheers! :cool:
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.