'un-style' clipboard text...
Chipp Walters
chipp at chipp.com
Tue Mar 2 02:34:37 EST 2004
Jan,
While yours works, the problem is that the field doesn't retain it's
selection status.
I want to hilite some text in a field, paste (replacing hilited text) and
retain the hilite of the text just pasted.
Thanks for your help,
best,
Chipp
> Hi Chipp,
>
> My solution is a bit if a kludge as well, but it does
> the trick, also after drag&drop :
>
> --
> on dragDrop
> send "UnformatMe" to me in 15 milliseconds
> pass dragDrop
> end dragDrop
>
> on pasteKey
> send "UnformatMe" to me in 15 milliseconds
> pass pasteKey
> end pasteKey
>
> on UnformatMe
> set the text of me to the txt of me
> end UnformatMe
> --
>
> Of course you can turn this into a fronscript and have
> it work everywhere.
>
> Hope this helped,
>
> Jan Schenkel.
>
> =====
> "As we grow older, we grow both wiser and more foolish at the
> same time." (La Rochefoucauld)
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Search - Find what youre looking for faster
> http://search.yahoo.com
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list