can I Save data to standalone sub stack within the standalone and redistribute the standalone withe the new saved data
Björnke von Gierke
bvg at mac.com
Thu Nov 8 08:50:07 EST 2007
On 08 Nov 2007, at 14:12, Paul Robinson wrote:
>
> If there is a sample stack or some script anyone has could you help
> please?
>
If you have a stack to save, try something like this in a button:
on mouseUp
answer file "where to save the stack?"
if it <> "" and the result = "" then
put it & ".rev" into thePath
end if
save stack "name of your stack goes here" as thePath
end mouseUp
Note that you cannot edit an executable, so you can't save the substack
into the executable itself. On Mac OS X, executables are contained
within a bundle folder, which you can theoretically put stuff into, but
Apple is not fond of that, and the newest OS (leopard) will put up a
dialog if you try to reopen an application edited in this way.
Because of this, you're best served by creating a document paradigm,
letting users send individual stack files around, and open them with
your application.
Bjoernke
--
official ChatRev page:
http://chatrev.bjoernke.com
Chat with other RunRev developers:
go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev"
More information about the use-livecode
mailing list