Converting a stack to a text file..

Mark Schonewille m.schonewille at economy-x-talk.com
Wed May 4 14:46:42 EDT 2016


I have created DIFfersifier a long time ago. A few years ago, I added a 
way to export stacks to XML. It isn't difficult to do that, since you 
just list all the properties as XML. If I remember correctly, a few 
properties can be read but not set, or perhaps there was another 
problem. I never got to writing a tool to recreate stacks from the same 
XML files, but although it would be a lot of work, it is certianly doable.

Kind regards,

Mark Schonewille
http://economy-x-talk.com
https://www.facebook.com/marksch

Buy the most extensive book on the
LiveCode language:
http://livecodebeginner.economy-x-talk.com

Op 04-May-16 om 14:29 schreef Paul Dupuis:
> Some time back on this email list there were discussions about tool(s)
> to write a stack (mainstack, substacks, controls, images, and all their
> standard and custom properties) out into a text file that could then be
> run through another tool to recreate the stack exactly. I think I recall
> that the purpose was to work with source code management systems which
> tend to want to work with text files.
>
> In theory it was a matter of looping through all stack, substacks,
> cards, and controls and writing out all their standard and custom
> properties and scripts and then reversing this to rebuild the stack(s)
>
> I find myself in need of a tool to export a stack and all its possible
> bits to a text file and then regenerate it. Did anyone ever build such
> tools? Willing to share them?
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>




More information about the use-livecode mailing list