• 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
Service without calling app to front?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Service without calling app to front?


  • Subject: Service without calling app to front?
  • From: Keith Blount <email@hidden>
  • Date: Mon, 10 Mar 2008 16:27:43 -0700 (PDT)

Hi,

I offer a couple of clippings services via the application services menu for my app in the usual manner. So when the user is looking at text in another application, he or she can select some of it, go to the Services menu and have the text automatically pasted in my app.

All of which works fine. But by default, using a service brings your app to the front, which isn't always desirable. I've noticed that some apps - e.g. DevonThink - manage to get around this somehow, so that if you select a clipping service, the app icon just bounces in the Dock but the app itself doesn't come to the front. Is there a way of doing this that I'm missing? Obviously I could just call [NSApp hide:nil] at the end of the service, but that isn't ideal.

Thanks and all the best,
Keith



      ____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

_______________________________________________

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

  • Prev by Date: Re: No track index in iTunes SB?
  • Next by Date: Re: Button on a button
  • Previous by thread: Re: Button on a button
  • Next by thread: NSBundle wierdness in OCUnit target:
  • Index(es):
    • Date
    • Thread