• 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: Using Defaults to Manipulate NSHumanReadableCopyright
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using Defaults to Manipulate NSHumanReadableCopyright


  • Subject: Re: Using Defaults to Manipulate NSHumanReadableCopyright
  • From: Luther Fuller <email@hidden>
  • Date: Tue, 13 Sep 2011 07:44:45 -0500

On Sep 13, 2011, at 1:45 AM, Jim Thorton wrote:

I have a simple app that will allow the user to manipulate application's plist file like changing version numbers and adding copyright info.  It simply utilizes shell's Defaults.  If you want to edit the copyright notice, then you manipulate NSHumanReadableCopyright.  I've noticed that Defaults doesn't accept some special characters.

There is an alternative to using 'defaults write ...'.
You can use System Events to read, modify and write any .plist file
including an application bundles Info.plist file. And you can add
new keys, if necessary, including NSHumanReadableCopyright.
I've never encountered any problem with special characters.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Using Defaults to Manipulate NSHumanReadableCopyright
      • From: Shane Stanley <email@hidden>
References: 
 >Using Defaults to Manipulate NSHumanReadableCopyright (From: Jim Thorton <email@hidden>)

  • Prev by Date: Applescript Users <email@hidden>
  • Next by Date: Re: Using Defaults to Manipulate NSHumanReadableCopyright
  • Previous by thread: Applescript Users <email@hidden>
  • Next by thread: Re: Using Defaults to Manipulate NSHumanReadableCopyright
  • Index(es):
    • Date
    • Thread