This was meant to be a question, but I have just found te answer, which I give here for others struggling with this like I have been.
You can run a vbscript with a script function by adding the following:
systemcommand:cscript arg:\path\to\yourscript.vbs
Pier