OK, glad to hear that it's useful to someone
.
It works, but it's a real hack job. I wrote it in C# with "what does this button do" methodology
.
In the meantime I was transferred to Java programming so now I have some official programming knowledge
.