View Full Version : Using variable args in the Script Editor (VBuild 6)
FrankP
10-25-2006, 05:52 PM
Is this possible? I am trying to port some WSH scripts into the Script Engine, and a lot of them parse the last arg in the parameter list.
Alternately, is there some way to call external scripts to set macros, etc., using the [] notation?
Thanks.
kinook
10-25-2006, 08:56 PM
Originally posted by FrankP
Is this possible? I am trying to port some WSH scripts into the Script Engine, and a lot of them parse the last arg in the parameter list.
One way would be to pass an array as the last argument, then parse the array in the function.
Alternately, is there some way to call external scripts to set macros, etc., using the [] notation?
You could create a script function which shells to cscript and call that from a script expression.
vBulletin® v3.8.11, Copyright ©2000-2024, vBulletin Solutions Inc.