Topic Options
#1362 - 08/18/03 09:42 AM Passing multiple parameters to custom script
Kevin Offline
Junior Member

Registered: 08/14/03
Posts: 15
Is there any way to pass more than one parameter to a custom script from the TGCtrl.Run command? Here is what I am doing:

If TGCtrl.CheckTime (0, tc, "0,10,20,30,40,45,50 * * * *") = true Then TGCtrl.Print TGCtrl.Run (0, "CheckHTTPStatus.vbs", "http://www.microsoft.com,arg2")

This works but I would like to be able to pass the parameters seperately so as to not have to split them. No biggie if it's not doable right now just thought I'd ask.

TIA,
-=- Kevin

Top
#1363 - 08/25/03 09:05 PM Re: Passing multiple parameters to custom script
Luke Tomasello Administrator Offline
Member

Registered: 09/17/00
Posts: 740
Loc: San Jose, CA., USA
Nope, sorry.
Because you're calling a script running in another thread (and not a local script function) I had to normalize the parameter list.
You'll need to parse the arguments yourself.
_________________________
Regards,
Luke Tomasello

Top


Moderator:  Luke Tomasello