Re: how do I get the names of other runnings apps and start/stop one?
Re: how do I get the names of other runnings apps and start/stop one?
- Subject: Re: how do I get the names of other runnings apps and start/stop one?
- From: David Remahl <email@hidden>
- Date: Wed, 16 Oct 2002 16:14:45 +0200
>
> Perhaps you can write your code an compile it in an applescript, and then
>
> run it using NSAppleScript, and get rid of NSWorkspace all together.
>
>
Why should you, on earth? NSWorkspace, being a very hi-level API, is
>
preferred to AppleScript any time -- you should go AppleScript only in
>
case NSWorkspace does not offer the service you need.
But it doesn't allow quitting applications. So if you still are going to run
a compiled script, you might as well let the script check wether the
application is running. It saves some code, and I got the impression that
the original poster already had an AppleScript method ready.
/ Rgds, David
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.