Forum Discussion
shankar_r
9 years agoCommunity Hero
For me below code is working fine, I'm able to trigger the VBS file
Function triggerVBS
path = "D:\Users\Desktop\Test.vbs"
'Way1
WshShell.Run(path)
'Way2
Call Sys.OleObject("WScript.Shell").Run(path)
End Function Ravik
9 years agoSuper Contributor
I am also interested to know this.
Using this code
Function triggerVBS
path = "D:\Users\Desktop\Test.vbs"
'Way1
WshShell.Run(path)
'Way2
Call Sys.OleObject("WScript.Shell").Run(path)
End Function
We can load the .vbs file but we can not call the functions from inside of the functions.
lets say If I have creates multiple function like - add, divide, multiply etc or login, new order, logout
here we can't call these functions in TC. is there any way to call functions (add, divide, multiply etc or login, new order, logout) from .vbs file.