'un-style' clipboard text...

Chipp Walters chipp at chipp.com
Tue Mar 2 03:12:50 EST 2004


Hi Jeanne, Jan -- me again :-)

Turns out my RR2.1.2 was hosed. Reinstalled and now this works for me.

on pasteIt
  put the selectedChunk into tChunk
  if tChunk is empty then exit to top
  if the clipboard is text then
    put the clipboardData["text"] into tTxt
    put "put tTxt into " & tChunk into tDo
    do tDo
  end if
end pasteIt


This will effectively paste styled text w/out the style into a fld,
replacing the selected text.

-Chipp




More information about the use-livecode mailing list