Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to pass cmd line arguments to my carbon app?



On 23/09/05, Jay Vaughan <email@hidden> wrote:
> >I was under the impression he wanted to set them args himself and then
> >distribute his app wit them "pre-set" to some values. You can't really
> >do that with Finder comments.
> >  -- Finlay
>
> thats right finlay.  an info.plist Args key works for this, however,
> and has the bonus that the generation of Info.plists customized to
> each install location can be fairly easily automated .. and still
> groove with the 'tradition' argv context.

Which just shows that you're abusing command-line arguments to have
the functionality of configuration files in the first place, IMO.

 -- Finlay
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden

References: 
 >Re: How to pass cmd line arguments to my carbon app? (From: Chris Espinosa <email@hidden>)
 >Fwd: How to pass cmd line arguments to my carbon app? (From: Chris Espinosa <email@hidden>)
 >Re: How to pass cmd line arguments to my carbon app? (From: Finlay Dobbie <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.