Re: way to update Apple Menu's Recents Items

2013-05-14 Thread Nick Rogers
Hi, But a commercially available program is doing it. And I have gone through process list in activity monitor before and after Recent Items is updated by this program. And found no difference in number of processes or any change in PIDs of the processes. Means probably no re-spawning. I have

Re: way to update Apple Menu's Recents Items

2013-05-14 Thread Mike Abdullah
Read up on NSDocumentController; it's in charge of that menu. On 14 May 2013, at 04:50, Nick Rogers roger...@mac.com wrote: Hi, I can remove the recent items from the plist where they are stored. But when I try and update the Recent Items submenu, it doesn't. I'm getting Apple Menu by

Re: way to update Apple Menu's Recents Items

2013-05-14 Thread Kyle Sluder
On May 14, 2013, at 2:12 AM, Mike Abdullah cocoa...@mikeabdullah.net wrote: Read up on NSDocumentController; it's in charge of that menu. I don't think this has been the case for an OS revision or two (either since Apple merged the “recent items count” preferences or when they added

Re: way to update Apple Menu's Recents Items

2013-05-14 Thread Lee Ann Rucker
On May 14, 2013, at 2:12 AM, Mike Abdullah wrote: Read up on NSDocumentController; it's in charge of that menu. It's in charge of File- Recent, but not Apple - Recent. On 14 May 2013, at 04:50, Nick Rogers roger...@mac.com wrote: Hi, I can remove the recent items from the plist where

way to update Apple Menu's Recents Items

2013-05-13 Thread Nick Rogers
Hi, I can remove the recent items from the plist where they are stored. But when I try and update the Recent Items submenu, it doesn't. I'm getting Apple Menu by using [[NSApp mainMenu] itemAtIndex:0]. OR do I need to kill some process (which will then restart) to achieve this. Thanks, Nick

Re: way to update Apple Menu's Recents Items

2013-05-13 Thread Kyle Sluder
On Mon, May 13, 2013, at 08:50 PM, Nick Rogers wrote: Hi, I can remove the recent items from the plist where they are stored. But when I try and update the Recent Items submenu, it doesn't. I'm getting Apple Menu by using [[NSApp mainMenu] itemAtIndex:0]. OR do I need to kill some