Re: Launching Application with arguments
Re: Launching Application with arguments
- Subject: Re: Launching Application with arguments
- From: "Dan Bernstein" <email@hidden>
- Date: Tue, 20 Nov 2001 09:24:29 +0200
Command-line arguments of type "-option value" go into the NSArgument
defaults domain. See here:
http://developer.apple.com/techpubs/macosx/Cocoa/Reference/Foundation/ObjC_c
lassic/Classes/NSUserDefaults.html
>
Now, I'd like to retrieve the arguments in the launched application.
>
Ok, I can modifiy the "main(...)" function to get the arguments,
>
but I'd like to know if there is an other way to do this......
>
>
Any idea ?