Pete, I have thought of doing a repeat within a repeat but thought it would be simpler to keep them separate to avoid errors. But your script does work! As you indicated, the references to button n must be the problem.
I am working on this script to use with a lot of marked cards. So, if it works for two marked cards in my sample stack, it should work for my other marked cards. Thanks very much! Charles Szasz csz...@mac.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