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