An unterminated lockMesages is also needed to avoid another Save in the closeStack message...
on closeStackRequest lock messages save this stack put millisecs() pass closeStackRequest end closeStackRequest Hugh Senior FLCo -- Original message The IDE has a default check to determine if a stack needs to be saved before closing it (I believe someone way back mentioned something about a "dirty" flag). Attempting to close unsaved stacks will almost always prompt a save dialog. When trying the following in 6.6.1 Mac/Win, both work as expected -- the stack doesn't close because pass is commented out. When the comment is removed, the stacks save and close as expected. on closeStackRequest save this stack put millisecs() -- pass closeStackRequest end closeStackRequest Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design _______________________________________________ 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