Getting a list of non-Rev main stacks

Mike Bonner bonnmike at gmail.com
Tue Jul 26 19:50:13 EDT 2011


if you want to get stacks that are not ide, you can use
revloadedstacks(application)

put revloadedstacks(application) into tStackList


On Tue, Jul 26, 2011 at 5:28 PM, Pete Haworth <lists.pete at haworths.org>wrote:

> I have a need to get a list of all open application stacks.  The mainstacks
> property includes all the IDE stacks so I filter them out by looking for
> the
> ones that begin with "rev".  That gets most of them but still leaves a few
> that don't start with "rev", e.g "Home", "Answer Dialog", "AskDialog",
> "Message Box".  I keep adding to the list of specific names to exclude, but
> new ones crop up every now and again.
>
> Does anyone know of a fail safe method of detecting that a stack belongs to
> the IDE?  Maybe some custom property or other?
>
>
> Pete
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list