Growing Pains for new SuperCard convert

Scott Rossi scott at tactilemedia.com
Fri Apr 21 12:17:52 EDT 2006


Recently, James Z wrote:

>> I am a long-time SuperCard user who is currently in the process of
>> migrating to Revolution. I'm having a bit of a problem converting a
>> SuperCard project over to Revolution. First off, I'm using the latest
>> Mac version of Revolution which I have yet to register, and am working
>> on a 1.42 GhZ G4. I have a card script in SuperCard containing approx.
>> 40,000 lines of code. I copied this into Word and then from Word into
>> the corresponding card script  in Revolution. It took 42 minutes to
>> copy it from Word to Revolution. Now, when I try to edit this script or
>> do anything in it (even closing the window), it pauses out for about
>> 20-30 seconds. Even if I type a single character, I will get the busy
>> cursor and have to wait around for it. So basically this chunk of code
>> is virtually unusable to me.

> I'd suggest getting Bbedit and forget about word. I copied a 40,000+ line
> file (a Scscript repeatedly copied and pasted to make a forty k line file)
> from BBEdit to a button script in Revolution Studio 2.7 evaluation mode. It
> took about 6 minutes to paste, but the card opens and the text seems ok.
> No problems editing.
> Word may have imported formatting and other baggage into your script.

Just wanted to echo this reasoning.  If you had any formatting at all in
your original script (I haven't used SC in years -- does it allow script
formatting now?), the process of copying over formatted script may have kept
(or attempted to keep) the formatting intact.  As James suggests, try using
a simple text editor to copy "clean" text over.

Alternatively, you save your script out to a plain text file, and then in
Revolution execute this:

 answer file "My script:"
 set the script of this card to url ("file:" & it)

This might go faster than cut-and-paste (but I wouldn't be surprised if you
had to do some serious editing to get your syntax in line with Rev's).

Hope this helps.  Welcome to Revolution.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-----
E: scott at tactilemedia.com
W: http://www.tactilemedia.com




More information about the use-livecode mailing list