change name of standalone

Mark Smith mark at maseurope.net
Sun Jun 5 09:59:26 EDT 2005


I suspect that changing the name of a running application is just not 
on (in the IDE, the running app is Revolution, not your stack). If you 
simply want to change what's in the title bar, look at the label or 
title properties....

Mark Smith

On 5 Jun 2005, at 14:35, Bob Hartley wrote:

> Hi All.
>
> In my wee app I want the user to be able to change the name of the 
> .exe app
> (the titlebar) when it opens.
>
> I have found a curious thing.
> I have a stack called boabieprefs (full paths and relative paths have 
> been
> tried) that has a field "appname".
>
> In my stack "hello" (this will be the standalone) if I open rev and 
> then do
> File->openstack-> and chose hello.rev the following script works
>
> on preopenstack
> set the name of stack "hello" to field "appname" of stack "boabieprefs"
> end preopenstack
>
> It does not work when I double click to open the stack in runrev, nor 
> in the
> .exe
>
> On other ocasions this crasjhes revolution. Actually it is now 
> constantly
> crashing rev (the script error box is flashing contuously and I've had 
> to
> restart)
>
> How do I change the name of the opening stack in a .exe standalone 
> using an
> external prefs.rev file?
>
>
> Cheers
> Bob
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the use-livecode mailing list