@SebastianS
well it does call the API directly so its very close.
I was lazy and just made script to ask and run my exe.
The AutoIt compiler can make exe from file so no script runtime is needed and its very small.
But yeah, it should be fairly easy to convert since its fairly normal syntax and uses both API and
types a c++ version would.