• 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
Getting active status when launching via shell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting active status when launching via shell


  • Subject: Getting active status when launching via shell
  • From: Jeff Sparks <email@hidden>
  • Date: Tue, 10 Apr 2007 07:47:21 -0700 (PDT)

I have a situation where I need to launch my app from a shell script
(essentially equivalent to launching via the command line).

The problem is that the app doesn't have active status.  The main
window is blank and greyed out; consequently, the window does not
display the image I've drawn into it until I click on the window.

I've tried a multitude of hacks with no success: sending display
messages, update messages, activate messages, recalculateKeyViewLoop,
updateWindows, setAutodisplay YES/NO, and various dirtying messages.

Is there way to get the forefront/active status?
Thanks,
-jeff




____________________________________________________________________________________
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives.
http://tools.search.yahoo.com/toolbar/features/mail/
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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

  • Follow-Ups:
    • Re: Getting active status when launching via shell
      • From: Michael Watson <email@hidden>
    • Re: Getting active status when launching via shell
      • From: Andreas Mayer <email@hidden>
  • Prev by Date: MEETING: Chicago CocoaHeads / CAWUG Tuesday 4/10 - BaseTen
  • Next by Date: Re: Getting active status when launching via shell
  • Previous by thread: MEETING: Chicago CocoaHeads / CAWUG Tuesday 4/10 - BaseTen
  • Next by thread: Re: Getting active status when launching via shell
  • Index(es):
    • Date
    • Thread