Getting active status when launching via shell
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