Agreed. I glossed over the fact that it was on win32 when I replied.
And yes, it definitely does work! I decided to play around with it last night after posting and got it to do exactly what I expected it to. I must say though that the errors that it throws get a little confusing because it has a lot of xs code in it.