Some Basic Misunderstandings/Problems with RunRev

David Burgun dburgun at dsl.pipex.com
Wed Apr 14 14:37:45 EDT 2004


Hi All,

>You could have a two stack system: the app. stack and the interface stack.
>If the user clicks on the app., it goes to the interface stack.
>If the user clicks on the interface stack it "starts using" the app. stack.
>No matter what the user does he/she ends up in the interface stack, which can
>be changed and saved.
>Paul Looney

Ahhhh, this sounds more like what I want!

But how do I set this up? At the moment I have a "Stack" that 
contains all my GUI elements. From what you are saying I assume 
that's I'd need a shell that forms the standalone, this could just 
display a Splash Screen and then issue the "start using" command on 
the Main GUI.

Question:
Do I just locate the GUI stack in the same folder as the Standalone 
and if so can I use the "Copy Files" panel of the "Standalone 
Application Settings" to do this or do I have to move/copy it 
manually each time?

However they get there, I am assuming that I will have the following 
files in the Standalone folder:

StandaloneApp
InitialGUI.rev

So the user double clicks the Standalone which displays it's splash 
screen and then checks for a file called "NewGUI.rev" (which won't 
exist the first time) and if the file doesn't exist, copies the file 
"InitialGUI.rev" into "NewGUI.rev".

Either way, it then issues a "start using NewGUI.rev" command".

The copy code is to allow the user to reset back to the factory 
settings if need be, all that need be done is for the "NewGUI.rev" to 
be moved or renamed or deleted and upon the next launch, the factory 
defaults are back in place.

More questions:

Does the NewGUI.rev Stack I create have a main stack and sub-stacks as normal?

If not, how do I set it up?

If so, when I issue a "save this stack" command does it save all 
stacks and the mainStack?

Thanks a lot for your time, this looks like the best approach for 
what I want to do. I just want to be sure it can do what I want 
before I start re-arranging my stack files again!

All the Best
Dave


More information about the use-livecode mailing list