Re: Get service requester application name
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