great job,
I've been tried some of this kind of code made by others, but has never been worked! (because I'm not a programmer or maybe I'm just to dumb )
but this one is fully worked!!! , seem it's very useful for me.
thanks for your great contribution.

very promising code if you or someone else could continue this code.