The loop is part of a cold-start up process, I want to run all the
stacks qualifying stacks in a folder in "ColdStart" mode, this allows
each stack to reset it's properties etc. to the "Factory" default.
It's a little more complex than this, but that basically it.
Once the Cold-Start has completed, I then re-open the "Main"
Application stack (the one that reported it's "Main" status during
Cold-Start procedure). It then starts running in "Warm-Start" mode,
and from that point onwards it will start up in warm start mode. The
ColdStart Stack checks for a file in it's folder when it's run, if
it's there it cold-starts and removes the file, if it's not it warm
starts.
All the Best
Dave
On 7 Apr 2006, at 16:49, Mark Schonewille wrote:
Hi Dave,
It is not clear to me what you are trying to accomplish. Why do you
set the visible of the stack to true or false if you're going to
close it anyway?
If the problem is that the stack flashes *before* its visible
property is set, it is possibe that removing "as toplevel" from
your script solves the problem. Why did you include that?
Completely contrary to HyperCard, Revolution's "lock screen"
command prevents windows from being redrawn but does not prevent
them from appearing on screen. You might want to set the loc of the
stack off-screen before changing the visible property, then hide
the stack and set the loc to the original value.
Best,
Mark
David Burgun wrote:
Hi,
When I run the script portion below, I get the stack windows
flashing for a split second. I thought that the lock screen
command would cure it, but it doesn't seem to work.
lock screen
repeat for each line myCurrentFileName in myFilesList
if item -1 of myCurrentFileName <> "rev" then next repeat
put myStackFilePath & myCurrentFileName into
myCurrentFilePathName
if myCurrentFilePathName = myStackFilePathName then next repeat
if myCurrentFilePathName <> the filename of
myCallingStackLongName then
if there is a stack myCurrentFilePathName then
if the script of stack myCurrentFilePathName contains
myHandlerString then
set the cpDebugEnableFlag of stack
myCurrentFilePathName to theDebugEnableFlag
put the visible of stack myCurrentFilePathName into
myStackVisibleFlag
go invisible to stack myCurrentFilePathName as topLevel
set the visible of stack myCurrentFilePathName to
myStackVisibleFlag
save stack myCurrentFilePathName
close stack myCurrentFilePathName
end if
end if
end if
end repeat
unlock screen
Any ideas??
Thanks a lot
Dave
--
Consultant and Software Engineer
mailto:[EMAIL PROTECTED]
http://www.economy-x-talk.com
eHUG coordinator
mailto:[EMAIL PROTECTED]
http://www.ehug.info
Advertise with us and reach 1000 truely interested internet users
every month. See http://economy-x-talk.com/advertise.html for more
information.
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution