Page 1 of 1

livecode file corrputed, need help

Posted: Fri Nov 29, 2013 7:40 pm
by infantilo
Hi,
hope thats the right place for my thread.
I've corrupted my livecode file by editing it with notepad.
i could not load the project in livecode anymore, because i've had an typemismatch (

Code: Select all

if $1 in "" then
instead of

Code: Select all

if $1 is ""
in card open and it always raised an script error and didnt let me save it anymore. So i tried to change the "in" to "is" in notepad and now i can't open the file in livecode anymore.
could anyone help me with that?
MANY thanks for your help!


P.S.: yes, i've learned my lesson and will do backups more often from now on

Re: livecode file corrputed, need help

Posted: Fri Nov 29, 2013 7:54 pm
by Klaus
Hi infantilo,

I'm afraid you're out of luck!

Since stacks are in binary format you saved them back to text format
and now neither you nor we can revocer it.

Maybe RunRev can do this, maybe not, you could ask: support@runrev.com


Best

Klaus

Re: livecode file corrputed, need help

Posted: Fri Nov 29, 2013 9:02 pm
by infantilo
thanks for reply!

ok...this is what "learning by doing" means...

Re: livecode file corrputed, need help

Posted: Fri Nov 29, 2013 9:10 pm
by Klaus
Yep :D

At least you can recover all the scripts with a text editor!

Re: livecode file corrputed, need help

Posted: Fri Nov 29, 2013 11:54 pm
by Simon
Hi infantilo,
Just for the future, if you click on that envelope icon in the menu bar you can stop all scripts from running. Just do it before you open your stack and then you can make repairs to your scripts.

If that wasn't your problem, just ignore me :)

Simon