• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How to NOT have an application added to the finders recent items list when launched from NSWorkspace.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to NOT have an application added to the finders recent items list when launched from NSWorkspace.


  • Subject: How to NOT have an application added to the finders recent items list when launched from NSWorkspace.
  • From: "Bruce Wittenmyer" <email@hidden>
  • Date: Tue, 23 Dec 2003 14:05:19 -0800
  • Thread-topic: How to NOT have an application added to the finders recent items list when launched from NSWorkspace.

I am launching a number of documents and applications using [NSWorkspace
launchApplication:foo] and I do NOT want them to be added to the Apple
recent items menu item.
I have tried to use NSUserDefaults to read in the
'com.apple.recentitems' plist, and then restore it after I launch the
applications, but the list is different than what is actually being
shown in the menu item. From the archives, it appears that is only
written upon user logout.
I can use Cocoa or Carbon - I've looked at LaunchServices, but don't see
how to do it there either. The closest was NavServices that has a
kNavDontAddRecents flag - but I don't want a NS dialog to come up.
Creative options welcome.
_______________________________________________
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.

  • Prev by Date: Re: Database Application with Obj-C
  • Next by Date: Table Data and NSArrayController
  • Previous by thread: PrefPane interface values not set during mainViewDidLoad or didSelect
  • Next by thread: Table Data and NSArrayController
  • Index(es):
    • Date
    • Thread