Opening and closing projects
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Opening and closing projects
Whenever I start a Revolution by double-clicking on a .rev file, it starts up with the Revolution splash screen showing, then goes into what I call the "edit mode" of the project, with the toolbox displayed and the pointer tool selected.
And whenever I close a project (usually by clicking the close window button), Revolution asks me if I want to save changes to the stack, even if I am unaware of any changes having been made, other than moving from one card to another.
How can I change things to start a project without showing the splash screen and witht he pointer tool selected (and the toolbox not showing)?
How can I avoid the save warning when closing?
And whenever I close a project (usually by clicking the close window button), Revolution asks me if I want to save changes to the stack, even if I am unaware of any changes having been made, other than moving from one card to another.
How can I change things to start a project without showing the splash screen and witht he pointer tool selected (and the toolbox not showing)?
How can I avoid the save warning when closing?
Re: Opening and closing projects
Sounds like you just want to run your stack as an application... why not just save it as a standalone? Even though this code is untested, something you can try as a work-around if you didn't want to use a standalone...
I have no idea if that will get rid of your save prompt, though... it's just a guess. Still, I think what you really want is to just save a standalone application and run it.
HTH,
Jeff M.
Code: Select all
## in the first card of the main stack's script...
on preOpenStack
if the environment is "development" then
choose the run tool
end if
end preOpenStack
on closeStack
if the environment is "development" then
delete this stack
end if
end closeStack
HTH,
Jeff M.
Re: Opening and closing projects
I take it, then, that it is normal behaviour for Revolution Media to start up in the edit mode, rather than in the mode in which the project was last closed.
I don't really want to save as standalone: I fear it will complicate matters, as I access other stacks and also I might well need to work on the stack later without disturbing its data. Would that be possible with a standalone? Can one revert to an editable version?
I don't really want to save as standalone: I fear it will complicate matters, as I access other stacks and also I might well need to work on the stack later without disturbing its data. Would that be possible with a standalone? Can one revert to an editable version?
Re: Opening and closing projects
When you create a standalone (which, BTW, I don't believe you can do with RevMedia), it essentially makes a "copy" of your stack that is an EXE - or APP on Mac. Your .REV file remains untouched. You can keep editing it, update it, change it, save it as a standalone again and again.
Jeff M.
Jeff M.
Re: Opening and closing projects
The standalone option is not an option, then. The projects store data that regularly changes and I wouldn't want to change the data in both a standalone and in an editable rev project -- too much hassle and too great a danger of error. And if a standalone can't be made in Revolution Media, then it' certainly not an option, of course. (Indeed, in the UsersGuide.pdf, only revStudio and revEnterprise are mentioned.)
Re: Opening and closing projects
You may want to look at the save stack and load stack commands for use in a standalone. But, ya, that's probably moot anyway since you are using revMedia.
Jeff M.
Jeff M.