On Fri, Jul 8, 2011 at 7:13 AM, Hirendra Rathor <hrat...@juniper.net> wrote:

> The idea is to launch the application with different arguments so that it can 
> do different
> stuff every time.

That isn't going to work. If the application is always running it
cannot be relaunched with new command line parameters. Also command
line parameters are seldom the right way to do something on Mac OS X
with bundled applications (.app).

You likely want to look at using AppleEvents and/or URL handlers for
this... or maybe more advanced launch agent / launch daemon with IPC.

-Shawn
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please 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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to