Next Topic

Previous Topic

Book Contents

executeVBScript()

Runs a Vbscript, with or without command line arguments. If the Vbscript displays a popup window or notifies the end user, check the box for Use Wscript instead of Cscript.

Operating systems supported: Windows

Example

writeFile("AddFavorite.vbs", "#TEMP%\AddFavorite.vbs", "All Operating Systems", "Halt on Fail")
executeVBScript("%TEMP%\AddFavorite.vbs", "#favoritename# #favoriteURL#", false, "All Operating Systems", "Halt on Fail")
deleteFile("%TEMP%\AddFavorite.vbs", "All Operating Systems", "Halt on Fail")