Copy Variable to Clipboard?

Jeanne A. E. DeVoto jeanne at runrev.com
Sun Mar 30 22:11:08 EST 2003


At 12:28 AM -0800 3/19/03, David Egbert wrote:
>I'm having trouble copying text from a variable to the clipboard.
>
>I suppose I could put the contents of the variable into a field that's on a
>stack off screen and then copy it.
>
>Is there a better way to do this?

That's the best way in 1.1.1.

In 2.0, you can use the new clipboardData property:

  set the clipboardData["text"] to myVariable

--
Jeanne A. E. DeVoto ~ jeanne at runrev.com
Runtime Revolution Limited - Software at the Speed of Thought
http://www.runrev.com/





More information about the use-livecode mailing list