Sven Van Caekenberghe wrote:

I don't know how to do this programmatically

That���s what I���m trying to figure out :)