Changing Script In Standalone

Sarah Reichelt sarah.reichelt at
Tue May 2 01:47:05 EDT 2006

This is not quite true. Rev does permit modification of data in a
standalone, but this new data will not be saved unless it is a
separate file to the main program. This can be a sub-stack or any
external data storage mechanism.

In this case, the script change should happen, provided it fits within
the scriptLimits, but the new script will not be saved if the stack
being modified is part of the main application file.


On 5/2/06, Dan Shafer <revolutionary.dan at> wrote:
> Bridger....
> At leat part of the problem is that Revolution does not permit on-the-fly
> modification of data of any kind in a stack (app) at runtime in the
> standalone environment. You get around that particular limitation by storing
> the changeable data in a sub-stack of your app's mainstack and setting up
> standlone settings so that it creates that stack separately as well. Then
> you may be able to tell a button in mainstack to set a script in a button of
> a substack but I haven't tested that idea.
> On 5/1/06, Bridger Maxwell <bridgeyman at> wrote:
> >
> > Hey,
> >   In one of my programs I use the "Set the script of object to string"
> > alot,
> > but when I recently switched over to 2.7.1 Studio and started to make
> > standalone programs, I noticed that this no longer works.  For my test I
> > made a field and two buttons, one button set the script of the other
> > button
> > to the field.  I typed a simple on mouseUp handler that answers a message.
> > It worked when I did it in the development environment, but not as a
> > standalone.  Does this mean that I can't change script from the
> > user-interface after it has been saved as a standalone?  Can someone give
> > me
> > the basic rundown of how Revolution compiles stacks into a standalone?
> >
> >   TTFN (ta-ta-for-now)
> >    Bridger

More information about the Use-livecode mailing list