• 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
Re: Non-deprecated way to determine Process Type (LSUIElement etc.) ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Non-deprecated way to determine Process Type (LSUIElement etc.) ?


  • Subject: Re: Non-deprecated way to determine Process Type (LSUIElement etc.) ?
  • From: Jerry Krinock <email@hidden>
  • Date: Thu, 26 Nov 2015 23:31:16 -0800

> On 2015 Nov 26, at 23:08, Ken Heglund <email@hidden> wrote:
>
> NSRunningApplication.activationPolicy might do the trick for you.

Yes, just tested and it works.  Bonus: Looks like setActivationPolicy should replace TransformProcessType(), and it even comes with KVO support :)

Thank you, Ken.


_______________________________________________

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


References: 
 >Non-deprecated way to determine Process Type (LSUIElement etc.) ? (From: Jerry Krinock <email@hidden>)
 >Re: Non-deprecated way to determine Process Type (LSUIElement etc.) ? (From: Ken Heglund <email@hidden>)

  • Prev by Date: Re: Non-deprecated way to determine Process Type (LSUIElement etc.) ?
  • Next by Date: Re: Non-deprecated way to determine Process Type (LSUIElement etc.) ?
  • Previous by thread: Re: Non-deprecated way to determine Process Type (LSUIElement etc.) ?
  • Next by thread: Re: Non-deprecated way to determine Process Type (LSUIElement etc.) ?
  • Index(es):
    • Date
    • Thread