• 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
Using a window or panel in an ASObjC Service
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using a window or panel in an ASObjC Service


  • Subject: Using a window or panel in an ASObjC Service
  • From: email@hidden
  • Date: Sat, 11 May 2013 20:42:06 -0600

Is anyone familiar with the nuances of using windows or panels in an ASObjC Service?  I have a working text service that puts up a (regular, titled, bordered) window with some combo boxes to build a string, but I can't find much documentation on how the windows are supposed to work - they don't seem to want to be normal.

The only way I seem to be able to bring the window to the front is by setting LSUIElement=1 and using runModal, but it still doesn't have focus until clicked in.  I haven't found a combination of the normal ways (LSUIElement=0, makeKeyAndOrderFront, etc) to make the window come to the front.

I was hoping to be able to create a combination application/service with (mostly) the same interface, but so far have been unable to get the windows to cooperate - in order to use the application I can't get the service to show up, and vice-versa.  Is this the way it is supposed to be, or are there other window settings that I need to be using?

Dave



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • RE: Using a window or panel in an ASObjC Service
      • From: Steve Valenti <email@hidden>
  • Next by Date: RE: Using a window or panel in an ASObjC Service
  • Next by thread: RE: Using a window or panel in an ASObjC Service
  • Index(es):
    • Date
    • Thread