Using Defaults to Manipulate NSHumanReadableCopyright
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
, 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