now looking at your code.
you need nothing from it.

just add this UDF code of mine to somewhere in your script and call it (wherever inside the same script):

installfont("c:\myfonts\*.ttf")

and all truetype fonts from your myfonts folders would be installed [Big Grin]

easy?
it's full pack-go-and-brush-your-teeth-code.
nothing for you to add or modify.
_________________________
!

download KiXnet