create a plist from script with iRev
Thomas McGrath III
mcgrath3 at mac.com
Thu Jan 7 01:31:45 EST 2010
Good idea, I will look into this one...
I can already create an XML version of a plist with dictionaries and
arrays. But the iPhone plist is binary. So I have to copy the text I
created from Revolution and then in the iPhone SDK view/convert the
plist as XML -- then paste the text from REV -- then view as binary
again and it is then binary plist. This works well for me in building
them from the desktop but is not programatic for on-rev version.
I have a series of apps that I am building that will read the plist
downloaded from on-rev that have info entered by web users.
-----------
My alternative is to download text from on-rev and then have the
iphone app build the plist. But programatically that is a bit harder.
Rev is much easier. Much much much easier.
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 6, 2010, at 4:41 AM, Jim Ault wrote:
> Idea:
> You could send the plist file to a Rev cgi running on OSX and it
> would return the result, or perhaps an iPhone app (as it might have
> plutil in its operating system)
>
> Jim Ault
> Las Vegas
>
>
> On Jan 5, 2010, at 2:45 PM, Sarah Reichelt wrote:
>
>> On Wed, Jan 6, 2010 at 12:39 AM, Thomas McGrath III
>> <mcgrath3 at mac.com> 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)
>>
>>
>> Tom, I have a stack that I use for editing plist files:
>> http://www.troz.net/rev/stacks/PlistEditor.rev
>>
>> Perhaps you could start with an existing plist and use the scripts in
>> here to modify them.
>> When you say revOnline, do you mean On-Rev? revOnline doesn't allow
>> anything other than stack hosting does it?
>> As regards On-Rev, the servers are Linux machines, so the plutil
>> command will not be available, as it is OS X only.
>>
>
>
>
>
> _______________________________________________
> 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