This works. Put it in a button. Copy some styled text. Click the button. Go anywhere and paste.
*on* mouseUp *get* the clipboardData["text"] *set* the clipboardData["text"] to it *end* mouseUp See, it even worked on my script (*StyledText above, *PlainText below) on mouseUp get the clipboardData["text"] set the clipboardData["text"] to it end mouseUp Roger EllerGraphics Systems Analyst 803 North Maple StreetP: 864.967.1625Simpsonville, SC 29681C: 864.908.0337 SealedAir.com <http://www.sealedair.com/>roger.e.el...@sealedair.com <roger.e.el...@sealedair.com> On Wed, May 6, 2015 at 12:00 PM, Graham Samuel <livf...@mac.com> wrote: > I want to make sure that any text pasted by my ‘paste’ menu gets pasted as > plain (unstyled) text whether or not it is styled to start with. Probably a > dumb question but I can’t quite see how to do this with ‘the > clipboardData’. Can anyone suggest how this should be done? > > TIA > > Graham > _______________________________________________ > 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