Since you don't show how you do it in VBS, can't be sure if the KiX way is simpler. The methodology would be pretty much the same, just using KiX commands.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.