Just tried with the default button (the blue blinking on on Mac) which has its traversalOn set to true and the script still worked. I seem to remember that Mac and Windows handle traversalOn for buttons differently where on Mac the button does not take the focus from the field. Not sure though. The script fails for me if the palette has a focusable field that get focus when clicking on the palette stack, though that is not surprising.
on mouseUp put the topStack into tTop go stack tTop put the selectedChunk into tSC if tSC <> "" then -- or whatever paste end if end mouseUp LC 7.0.6 RC2 Kind regards -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Insertion-point-problems-tp4693251p4693292.html Sent from the Revolution - User mailing list archive at Nabble.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