font changing script?
Nicholas Thieberger
paradisec at linguistics.unimelb.edu.au
Mon Jun 9 05:42:11 EDT 2003
I'm trying to find all "$" in a field and change them to the font
IpaTimes. I use the following script, but it refuses to recognise the
font name. I try it wih Geneva and it still doesn't work... Any
advice gratefully received.
on mouseup
put field "text" into tempOne
repeat with x=1 to the number of characters in tempOne
if char x of tempone is "$" then
set the textfont of char x of tempone to "IpaTimes"
end if
end repeat
put tempOne into fld "text"
end mouseup
Thanks
Nick
--
Project Manager
nickt at paradisec.org.au
Ph 61 (0)3 8344 5185
PARADISEC
Pacific And Regional Archive for DIgital Sources in Endangered Cultures
http://www.paradisec.org.au
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.runrev.com/pipermail/use-livecode/attachments/20030609/e0685243/attachment.html>
More information about the use-livecode
mailing list