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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to