Not exactly what you want, but this post will send you on an easier alternative path.
It’s from @turbodog