Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Character Palette



Greg Guerin wrote:

The exec() of "/System/.../CharPaletteServer" returns a Process, which one
can hold onto.  There isn't a Process.isAlive() method, but you can call
Process.exitValue() in a try/catch block to determine the Process's state.
Basically, if it returns a value, the Process has terminated, but if it
throws IllegalThreadStateException the Process is not terminated.

That assumes only my app can launch the character palette. However, the character palette can also be launched by TextEdit, QuickTime Player, and a host of other apps. We need to know if any app has launched the Character Palette before we launch it, not just ourselves. :-(


--
Elliotte Rusty Harold  email@hidden
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: Character Palette (From: Greg Guerin <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.