Sorry



The post is published in the section "Getting Started with LiveCode - Complete Beginners"

http://forums.runrev.com/viewtopic.php?f=7&t=17587
Thank you so much for reading these lines!
Sorry for the intrusion!

Mariasole
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Code: Select all
on mouseUp
## copy
## Don't work???!!!!
## Although it is the SAME as if the user selectes that menu or the shortcut CMD-C!!!???
## Too funky :-D
#ä The rest works fine when the user copies himself, see above...
put the clipboarddata["html"] into tHtml
set the htmltext of the templatefield to tHtml
put the htmltext of the templatefield into a Variable
put aVariable
## HTML text with tags etc :-)
reset the templatefield
end mouseUp
Code: Select all
on mouseUp
## -----------------------------------------------
## (c) Klaus The Genius
## Codice rimasticato ignobilmente da Mariasole ;)
## -----------------------------------------------
put the clipboarddata["html"] into tHtml
set the htmltext of the templatefield to tHtml
put the htmltext of the templatefield into aVariable
put aVariable into field "fBrowser"
reset the templatefield
end mouseUp
Code: Select all
<p spaceabove="5" spacebelow="5"><b><font size="16">John Barton</font></b><font size="16"> "<b>Bart</b>" <b>King</b> (October 19, 1873 – October 17, 1965) was an American </font><a name="/wiki/Cricket"><u><font size="16" color="#0000FF">cricketer</font></u></a><font size="16">, active in the late 19th and early 20th centuries. </font></p>
<p>�</p>
Code: Select all
<b>John Barton</b> "<b>Bart</b>" <b>King</b> (October 19, 1873 – October 17, 1965) was an American <a href="http://en.wikipedia.org/wiki/Cricket" title="Cricket">cricketer</a>, active in the late 19th and early 20th centuries.