• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Launching Application with arguments
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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 ?


  • Prev by Date: Re: loading a Nib in Java
  • Next by Date: Re: Standard OS X Compression format
  • Previous by thread: Re: Launching Application with arguments
  • Next by thread: Database Interaction-help!!
  • Index(es):
    • Date
    • Thread