Oops, spoke too soon. That gets all stacks, not just main stacks, but from there I can go through and weed out the substacks so still OK.
Pete On Tue, Jul 26, 2011 at 4:50 PM, Mike Bonner <bonnm...@gmail.com> wrote: > 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.p...@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@lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > 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 > _______________________________________________ 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