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

Using Defaults to Manipulate NSHumanReadableCopyright


  • Subject: Using Defaults to Manipulate NSHumanReadableCopyright
  • From: Jim Thorton <email@hidden>
  • Date: Tue, 13 Sep 2011 15:45:29 +0900

Hola, AppleScripters!

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.  For example, if I want to insert 

© Wasabi Things, LLC

, then I should type the following.

defaults write /Volumes/SDHC\ MEMORY/Test_package/MyTestApp.app/Contents/Info NSHumanReadableCopyright © Wasabi Things, LLC

Terminal says 

defaults[347:903] Unexpected argument Wasabi; leaving defaults unchanged

If I want to insert Hello&Goodbye, Defaults will only insert Hello.

Does anybody know an effective way of using special characters with Defaults?

Thank you for your kind advice.

Yours truly,

Jim
 _______________________________________________
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: Luther Fuller <email@hidden>
    • Re: Using Defaults to Manipulate NSHumanReadableCopyright
      • From: Axel Luttgens <email@hidden>
    • Re: Using Defaults to Manipulate NSHumanReadableCopyright
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: An arbitrary if.
  • Next by Date: Re: Quicktime Movie Recording
  • Previous by thread: Get currencies conversion rate
  • Next by thread: Re: Using Defaults to Manipulate NSHumanReadableCopyright
  • Index(es):
    • Date
    • Thread