putting away plugins
Richard Gaskin
ambassador at fourthworld.com
Fri Jan 10 13:56:01 EST 2003
Steve Messimer wrote:
> I have tried this code in both preOpenStack and openStack handlers located
> in the plug-in.
>
> # when certain conditions are met ... do this code
> # "thePlugin" here is a stack in the rev plugins folder
> close stack "thePlugin"
> set the destroyStack of stack "thePlugin" to true
> exit to top
>
> This doesn't work. What it does do is remove the stack from the Application
> overview window and allow the stack window to be shown. This is bad form
> for lots of reasons I won't get into here.
>
> Ideally what I want is the plugin to abort its launch and not be shown in
> either the application overview window or on the desktop. I still want it
> visible in the plugins menu.
What happens if you set the destroyStack to true before closing the stack?
Also, what is the benefit of having a plug-in listed in the Plugins menu if
it cannot be run?
--
Richard Gaskin
Fourth World Media Corporation
Developer of WebMerge 2.1: Publish any database on any site
___________________________________________________________
Ambassador at FourthWorld.com http://www.FourthWorld.com
Tel: 323-225-3717 AIM: FourthWorldInc
More information about the use-livecode
mailing list