Forcing 'paste' to paste plain text

Roger Eller roger.e.eller at sealedair.com
Wed May 6 12:47:44 EDT 2015


Even better, you can paste into any field, whether inside or outside of
LiveCode:

on mouseUp

   set the clipboardData["text"] to the clipboardData["text"]

end mouseUp



On Wed, May 6, 2015 at 12:38 PM, Peter Brigham <pmbrig at gmail.com> wrote:

> Try this:
>    put the clipboarddata["text"] into the selection
>
> -- Peter
>
> Peter M. Brigham
> pmbrig at gmail.com
> http://home.comcast.net/~pmbrig
>
>
>
> On Wed, May 6, 2015 at 12:00 PM, Graham Samuel <livfoss at 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
>
>



More information about the use-livecode mailing list