pasting text from clipboard

Signe.Sanne at roman.uib.no Signe.Sanne at roman.uib.no
Thu Feb 24 05:47:15 EST 2005


Quoting Dwayne Rothe <drothe at optusnet.com.au>:

> Thanx Frank,
> Your suggestion worked perfectly, I used a slight variation so I could also
> retain the original textFont...
> 
> lock screen
> if the clipboard is text then paste
> set textFont of char 1 to (the number of chars in fld "Field") of fld "Field"
> to Tahoma
> set textSize of char 1 to (the number of chars in fld "Field") of fld "Field"

Just a small thing to save typing:

char 1 to (the number of chars in fld "Field") of fld "Field" = char to -1 of
fld "field"

Signe Marie Sanne


More information about the use-livecode mailing list