If you add the MS script control then you could do things like that, but it would have to be in the scope of the script.