thank you for sharing this..
but i can't seem to get this to run.
i've tried implementing the code in my section, in a fuction then calling it in .oninit, etc.
I have the 3 defines pointing to a Multi_SZ value.
but everytime it reaches the script.. it crashes.
im using Unicode .. i can see you have Unicode support in the script.