• 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 get the applicaiton name that loads bundle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to get the applicaiton name that loads bundle


  • Subject: How to get the applicaiton name that loads bundle
  • From: "Chen, Jeff (SDCC)" <email@hidden>
  • Date: Fri, 01 Jul 2011 14:25:21 +0800
  • Acceptlanguage: ja-JP, en-US
  • Thread-topic: How to get the applicaiton name that loads bundle

Dear All,

Now I'm developing the printer driver, and I want to realize the following specificaiton:
1, If the current applicaiton loading my PDE is "TextEdit" or "Preview", do actionA
2, If the current application loading my PDE is another application, do actionB.

But I don't know how to get the information of the application loading my PDE.
I checked the document about "NSBundle" and "PDEPluginCallback", but can't find any API about it.

Is there anyone who knows this?

Best Regards
Jeff Chen
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: How to get the applicaiton name that loads bundle
      • From: Scott Ribe <email@hidden>
  • Prev by Date: tableview, button with view and bindings
  • Next by Date: Re: tableview, button with view and bindings
  • Previous by thread: Re: tableview, button with view and bindings
  • Next by thread: Re: How to get the applicaiton name that loads bundle
  • Index(es):
    • Date
    • Thread