Title: font changing script?
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
[EMAIL PROTECTED]
Ph 61 (0)3 8344 5185

PARADISEC
Pacific And Regional Archive for DIgital Sources in Endangered Cultures
http://www.paradisec.org.au

Reply via email to