• 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: Setting user defaults for an app launch?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting user defaults for an app launch?


  • Subject: Re: Setting user defaults for an app launch?
  • From: Daniel Jalkut <email@hidden>
  • Date: Thu, 17 Feb 2005 15:46:14 -0800

I don't think there's any way to pass "user defaults" per se, to an application. The NSShowNonLocalizableStrings is a command line option, not an example of setting an arbitrary default value.

If you want to pass a command line option to an executable in Xcode, you can do it through the executable's inspector dialog. "Arguments."

If you want to pre-populate user defaults for an app whose code you don't control, then you have to get your default values into one of the application's domains. I don't know of any tricks to do this automatically from Xcode without permanently modifying the application's persistent preference files.

Daniel

On Feb 17, 2005, at 11:15 AM, Mark Dawson wrote:

How do I get XCode (1.5) to pre-set user defaults for an app? I see a reference in the docs to setting TextEdit.app/TextEdit -NSShowNonLocalizableStrings YES on the command line, but I'm not sure how to do the same thing in XCode…

Thanks!

mark
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
sweater.com


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Setting user defaults for an app launch? (From: Mark Dawson <email@hidden>)

  • Prev by Date: Re: XML / XSLT parser for C++ projects
  • Next by Date: Re: Distributed builds on headless XServe
  • Previous by thread: Setting user defaults for an app launch?
  • Next by thread: tracing a process
  • Index(es):
    • Date
    • Thread