WinStudio
IWSForm interface
Invokes a global script, passing up to twenty parameters to the script, and returns a string containing any output from that script.
object.CallGlobalScript( string0, string1, ... string20 )
Part |
Description |
| object | Required. Reference to a valid form object. |
| string0 | Required. The name of the global script. |
| string1, . . . string20 | Required. The values, in string form, of up to
twenty parameters to be passed to the global script.
If the script does not take twenty parameters, the extra strings must be designated as empty strings. |
The return value is a string containing any return outputs from the script.
ThisForm.CallGlobalScript("MyGlobalScript", "inputValue1", "inputValue2", _
"", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "")