Maybe "get the ID of the last image of stack "xyz"? Not sure if that would work or not, I seem to remember having problems with using the "last" keyword in the past but I think that was specifically to do with groups. Pete
On Wed, Mar 21, 2012 at 9:49 AM, J. Landman Gay <jac...@hyperactivesw.com>wrote: > On 3/21/12 11:25 AM, Bob Sneidar wrote: > >> Can anyone think of a quick way (other than a repeat loop) to >> determine the highest ID of all the image files in a stack? >> > > The ID of the stack is the either the last-used ID or the next available > one, I forget which. It doesn't discriminate between the kinds of controls > though. > > -- > Jacqueline Landman Gay | jac...@hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > ______________________________**_________________ > 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<http://lists.runrev.com/mailman/listinfo/use-livecode> > > -- Pete Molly's Revenge <http://www.mollysrevenge.com> _______________________________________________ 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