Re: Help about plist
Re: Help about plist
- Subject: Re: Help about plist
- From: Axel Luttgens <email@hidden>
- Date: Thu, 2 Oct 2008 13:21:52 +0200
Le 1 oct. 08 à 21:20, KOENIG Yvan a écrit :
Hello
I wrote this script to copy an array from the Pages plist to the
Numbers one.
It fails when I try to write the new plist on disk.
May you help me ?
-- [SCRIPT]
[...]
-- [/SCRIPT]
I'm running 10.4.11
Hello Yvan,
As Shane already noticed, the Property List Suite received R/W
capabilities with Leopard.
But perhaps could you make use of the defaults commands.
The basic idea would be:
do shell script "K=`defaults read com.apple.iWork.Pages
kSFWPAutoSubstitutionArrayProperty`; defaults write
com.apple.iWork.Numbers kSFWPAutoSubstitutionArrayProperty \"$K\""
But as always in such cases, please check and double check... ;-)
And be sure to have quit Numbers and to have taken a copy of its plist
before trying the above.
HTH,
Axel _______________________________________________
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