Stack conversion

stephen barncard stephenREVOLUTION2 at barncard.com
Tue Nov 3 13:24:48 EST 2009


This is the fun part:

to get the 'stuff' out it's probably best to write the export code using the
source platform. Depressing, because one wants to move forward not backward,
but recovering the data is one of the most important parts of your
conversion.

I had a project once to convert a hypercard stack into a MySQL database. I
got Hypercard to work in Classic, wrote a handler to dump all the contents
of thousands of cards to a tab-delimited text file. The data was not that
clean, and required some removal of spaces and returns, etc.  It's best to
get your data cleaned at this stage, while you are at the source.  It was
strange being back in HC land. I tried to use 'repeat for each' twice in
Hypertalk. oops.

With images, this will be a bit harder, and will require some extra coding
to save the graphic files. Perhaps a folder for each 'card' or record - each
with all the associated graphics and  a text file.

Perhaps another way would be to grok the format of the original toolbook
source file, and use Revolution to 'data-scrape' the information right out
of the source.

Then post the utility for others to use!
-------------------------
Stephen Barncard
San Francisco
http://houseofcubes.com/disco.irev


2009/11/3 Rick Rice <rick-rice at shaw.ca>

> Thanks Stephen, Tiemo and Marty for your quick responses. My original
> question is proof that language is a poor form of communication (grin).
> What I'm after is the content (text and images) of the original Tool-Book
> "book". I do not want the actual code (script). I will redo the actual
> presentation code (script).
> Is there any way to actually get to the content? I have the original "book"
> as well as the runtime (standalone) and have been asked by the legal owners
> of the software to make the content available across platforms.
> Rick
>
>
> On Nov 3, 2009, at 8:28 AM, Rick Rice wrote:
>
>  Is there any way to convert a Tool-Book stack, app, executable, I'm not
>> sure what the correct description is, into a Rev stack?
>> I know it can not be done directly like a MC, HC or SC stack but, is there
>> some sort of hack which would at least make the conversion a little more
>> computer friendly rather than paper hostile? I have access to the standalone
>> and the original build. The material was built using a recent but, not the
>> most current version of Tool-Book.
>> Thanks
>> Rick
>>
>> _______________________________________________
>> 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
>>
>
> _______________________________________________
> 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