ok, thanks for that!
I Will create a DLL and when it's finished i may post it on this site, with script included of course.
User defined objects and forms (from JS) will be a problem for me however and the DLL may not include them.
My bad too, i missed that! I didn't save it as unicode, it was saved as the default (ANSI). It now works