Open Recent Menu Item
Open Recent Menu Item
- Subject: Open Recent Menu Item
- From: Lorenzo <email@hidden>
- Date: Tue, 13 Jul 2004 17:57:39 +0200
Hi list,
I would like to know whether I have to manage the sub-menu
"File:Open Recent" by myself adding and removing the items (latest file
names and their URLs or pathnames). Which is the right approach?
Currently when I call the menu item "File:Open" I simply call
runResult = [op runModalForDirectory:NSHomeDirectory() file:nil
types:fileTypes];
if(runResult == NSOKButton){
[self application:nil openFile:[op filename]];
}
So I don't see how the "Open Recent" menu item could memorize the list of
the most recent file I opened. Any idea?
Best Regards
--
Lorenzo
email: email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.