Detecting Design Time Status

Andre Garzia soapdog at mac.com
Tue Jan 3 00:44:52 EST 2006


On Jan 3, 2006, at 2:39 AM, Scott Kane wrote:

> Hi folks,
>
> I've noticed that some stacks continue running
> when the application is put back into design
> time in the inspector.  Is it possible to detect
> design time in script in order to stop the stack
> in question from running?
>
> Scott


Scott,

There is a function called tool that will return the current tool,  
you use the "browse tool" to interact with your stacks and other  
tools to modify it, so by checking for the "browse tool" you'll be  
able to see if you should go on...

script:

if the tool is "browse tool" then bla bla bla

Cheers
andre




More information about the use-livecode mailing list