>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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to