converting a standalone back to a stack?

Jeff Honken jhonken at x12.info
Wed Feb 15 15:23:41 EST 2006


This concerns me a little.  Are you saying once we've compiled our
applications to a standalone .exe anyone can get it back to the original
source code or Stack? Jeff

-----Original Message-----
From: use-revolution-bounces at lists.runrev.com
[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of
FlexibleLearning at aol.com
Sent: Wednesday, February 15, 2006 1:09 PM
To: use-revolution at lists.runrev.com
Subject: Re: converting a standalone back to a stack?

>From The Scripter's Scrapbook (note not yet  tested with 2.7 so use at
own 
risk on a backup copy)...

App2Stack  Recovery
This will convert a MetaCard or Revolution standAlone to the  original
stack 
file.

on mouseUp
answer file "Select a  Standalone..."
if it is "cancel" or it = "" then exit to top
put url ("binfile:"&it) into tStack
repeat  forever
-- there's more than one stackfile in there which  is interesting
put offset("#!/bin/sh",char 10 to -1 of  tStack) into tOff
if tOff = 0 then exit  repeat
put char tOff+9 to -1 of tStack into  tStack
end repeat
ask file "Name the Stack..."
if  it is "cancel" or it = "" then exit to top
set the fileType to  "RevoRSTK"
put tStack into url ("binfile:"&it)
answer  "Conversion finished" with "OK"
end mouseUp  


HTH
 
/H
_______________________________________________
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