How do I turn off autostart?

T. R. Ponn alptex2 at orwell.net
Sun Mar 20 08:47:37 EST 2005


Len,

This should do it:

on preOpenStack
  if the environment<>"development" then
     -- do the stuff here that's getting you in trouble when you're in 
the IDE
  else
     -- do stuff here that's "safe" for IDE or standalone
  end if
end preOpenStack

Best Regards,

Tim Ponn




Len Morgan wrote:

> It seems that when ever I load a stack into the IDE to work on it, it 
> runs the preOpenStack handler but I would like to turn off that 
> feature while I'm developing (so I don't accidently code an infinite 
> loop in the handler).  It would be ok if going from edit to run had 
> this behavior.  Is there possibly something like MS Access has where 
> if you hold down the shift key while opening a database it won't run 
> the autoexec macro?
>
> Thanks!
>
> len morgan
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>




More information about the use-livecode mailing list