change name of standalone

Eric Chatonet eric.chatonet at sosmartsoftware.com
Sun Jun 5 09:57:16 EDT 2005


Hi Bob,

May be you could choose a less risky approach by setting the label of  
the stack without changing its name?

Le 5 juin 05 à 15:35, Bob Hartley a écrit :

> 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?


Best regards from Paris,

Eric Chatonet.
----------------------------------------------------------------
So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Plugins, tutorials and more on our website
----------------------------------------------------------------
Web site        http://www.sosmartsoftware.com/
Email        eric.chatonet at sosmartsoftware.com/
Phone        33 (0)1 43 31 77 62
Mobile        33 (0)6 20 74 50 86
----------------------------------------------------------------



More information about the use-livecode mailing list