Todd Geist wrote:
I am looking for a good way to determine an open stack is a plugin. Right
now I am just checking to see if the folder the Stack is in is called
plugin. This sort of works, but If a stack happens to be in a folder that
is named plugins, but I opened normally (ie not through the plugin menu)
then this test would be wrong.
In fact I think any test based on the directory wouldn't be so good. There
would always be the chance that you opened through the file browser.
Is there a function that returns the list of plugins currently opened?
A plugin is just a stack that can be conveniently opened by placing it
in the Plugins folder.
If you take it out of the folder, that distinction is lost.
--
Richard Gaskin
Fourth World
LiveCode training and consulting: http://www.fourthworld.com
Webzine for LiveCode developers: http://www.LiveCodeJournal.com
LiveCode Journal blog: http://LiveCodejournal.com/blog.irv
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode