I'd think with your email address, you should know which process Illustrator runs as, or at least be able to find out... ;-)

Use AppleScript, from osascript or from Mac::Glue or etc.

You won't find a single, cross platform method for answering this question. Ergo, if you need the "same" piece of code to run on multiple OSes, you will need to code to detect which platform it's running on, and then DTRT on that platform.

-Jeff Lowrey

At 05:37 PM 10/12/2005, Ted Zeng wrote:
Hi,

I would like to find out if an application like Illustrator is running
On OS X or not from a perl script. How can I do it?

"ps" doesn't list the processes like Illustrator.

Ted Zeng
Adobe Systems

Reply via email to