create a plist from script with iRev
Thomas McGrath III
mcgrath3 at mac.com
Tue Jan 5 13:37:51 EST 2010
Thanks for the plutil and other suggestions which are good for the
desktop, but I was wondering about doing this via iRev scripts online.
I can create and populate a pList on my desktop with textWrangler and
use xcode to convert back to binary for inclusion with my iPhone app.
What I want is a way using iRev scripts to create one on on-rev and if
not that then at least via iRev scripts to modify an existing one.
Tom McGrath III
Lazy River Software
3mcgrath at comcast.net
iTunes Library Suite - libITS
Information and download can be found on this page:
http://www.lazyriversoftware.com/RevOne.html
On Jan 5, 2010, at 10:25 AM, Jim Ault wrote:
>
> On Jan 5, 2010, at 6:39 AM, Thomas McGrath III wrote:
>
>> Does anyone have a way or explanation on how to create a plist file
>> on revOnline via script???
>>
>> It turns out that Apple recommends using a pList over json or xml
>> for transferring data via NSUrl.
>>
>> There would be a lot of things I could do if I knew how to create
>> them.
>>
>> (on the desktop I can do them and upload manually but then I would
>> still have to populate them online)
>
>
> you can run a shell script in Rev that converts a file sitting on
> your hard drive from binary, then edit, then convert it back again
>
> plutil -convert xml1 Project
> open -a TextEdit Project
>
> --edit the file, then File - Save
> --then run
> plutil -convert binary1 Project
>
> or use BBEdit 9 that opens the plist binary in readable xml, then
> saves in the binary format automatically.
>
> or as Andre said about 18 months ago
>
> Folks,
>
> This page here < http://tomeklof.googlepages.com/aapl > has a list of
> useful command line tools unique for Mac OS X. For example did anyone
> here knew about plutil to convert plists to plain xml and back?
>
> Andre
>
>
>
> Jim Ault
> Las Vegas
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list