• 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: Get service requester application name
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Get service requester application name


  • Subject: Re: Get service requester application name
  • From: Peter Ammon <email@hidden>
  • Date: Thu, 16 Oct 2008 11:53:17 -0700


On Oct 16, 2008, at 12:32 AM, Вера wrote:

Hello everyone!
I'm writing a service which should get selected text and requester name... Which selected text everything is ok. But with service requester app name...
Is such possibility exists or I'm a dreamer )


Thanks in advance. Hope my question is clear )

You want to find which application requested the Service? There's not a perfect way to do this today, but what some apps do is to check which app is frontmost (via GetFrontProcess()) at the time the Service request is received.


-Peter

_______________________________________________

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: 
 >Get service requester application name (From: Вера <email@hidden>)

  • Prev by Date: Re: Unable to parse special characters using NSXMLParser
  • Next by Date: Re: Unable to parse special characters using NSXMLParser
  • Previous by thread: Get service requester application name
  • Next by thread: NSPredicateEditorRowTemplate and CoreData
  • Index(es):
    • Date
    • Thread