High-Order ASCII Alphabet & Other Keyboard Edits
Mark Brownell
gizmotron at earthlink.net
Sun Dec 21 12:29:55 EST 2003
How about this: (untested code)
-- set the font of (fld "convertToHTML" ) to the target field's font
put " Ä Å Ç É Ñ Ö Ü
á à â ä ã å ç é
è ê ë í ì î ï ñ
ó ò ô ö õ ú ù û
ü ° ¢ £ § ¶ ß ®
© ´ ¨ Æ Ø ±
¥ µ ª º
æ ø ¿ ¡ ¬
« »
À Ã Õ
÷ ÿ
¤ ·
Â Ê Á Ë È Í Î Ï
Ì Ó Ô Ò Ú Û Ù
¯ ¸
" into checkKeySet
-- these checkKeySet vars can be made on the fly prier to use.
on keyDown theKey
put theKey into fld "convertToHTML"
put the htmlText of fld "convertToHTML" into goodBadKey
if checkKeySet contains goodBadKey then
pass keyDown
else
-- or here if you want those checkKeySet keys to be stopped
end if
end keyDown
Mark
More information about the use-livecode
mailing list