I have a script, currently real simple:
and I want to send 2 parameters from HStouch which are not based on an element. In the Action Editor, I set it to run a script and set the script to be:
I keep getting init error: Invalid character
I believe my problem is how I am trying to pass 2 parameters. Any suggestions on where I am going wrong?
Code:
Sub Main(ByVal Parms() As Object) hs.writelog("Parameter Test",Parms(0)) hs.writelog("Parameter Test",Parms(1)) End Sub
Code:
&hs.runScriptFunc("IncrementTime.vb","Main",{"Turn Module On",30,False,False)
I believe my problem is how I am trying to pass 2 parameters. Any suggestions on where I am going wrong?
Comment