Interesting So it just uses $com objects to access itunes if it's open? Is there a tutorial for that kind of thing?
PS - Do you really need to use set %var? couldn't var = %time etc work just as well?