er…well…
really not mine.
Time ago I’ve been just looking to achieve this matter and found
So this was my startpoint
By the way,Lennox I can drop you some code if you need. (althought I guess I would need to dust off my iMac )