Just use "set the textFont of word 1 to -1 of fld i to empty" you don't
want "the text of" in there.
When I want to clear any fonts/sizes after a paste I use "put me into
me" in a closeField script.
Marty Knapp
I am having trouble clearing the textfont of the contents of field.
I have tried
set the textFont of word 1 to -1 of the text of fld i to empty
and
set the textFont of word 1 to -1 of the text of fld i to empty
but both generate errors.
I want to set the font by field after pasting it in from external sources
(pasting is already done)
What am I missing?
Thanks
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode