Differences

This shows you the differences between two versions of the page.

Link to this comparison view

desktop:vbscript [2018/04/14 16:09]
desktop:vbscript [2019/10/23 05:53] (current)
Line 1: Line 1:
 +==== See Also ====
 +[[desktop:​vbscripterror|GraffitiVBScriptError]]
 +
 +==== Enumerations ====
 +^ Name      ^ Values ​      ^
 +|  | This class exposes no enumerations. |
 +
 +==== Constants ====
 +^ Name      ^ Type     ^ Value       ^
 +| StateIdle | Integer | 0 |
 +| StatePreparingScript | Integer | 1 |
 +| StateRunning | Integer | 2 |
 +| StateError | Integer | 3 |
 +| StateStopped | Integer | 4 |
 +
 +==== Events ====
 +^ Definition ​     ^ Description ​      ^
 +| Done( Error as GraffitiVBScriptError ) | Fired when the operation is complete. Error contains an instance of any GraffitiVBScript which represents any errors which were returned from the operation. |
 +| StateChange() | Fired when the running state of the class has changed, allowing users to show status of the operation. |
 +
 +==== Methods ====
 +^ Definition ​     ^ Description ​      ^
 +| Run() | Starts the thread and operation. |
 +
 +==== Properties ====
 +^ Name      ^ Type       ^ Default Value       ^ Description ​      ^
 +| Arguments() | String | Nil | Array of custom arguments to be passed in to the script before running. |
 +| IsRunning | Boolean | False | Returns whether the thread is currently active. |
 +| Result | String | ""​ | The output from the script after the operation is complete. |
 +| Source | String | ""​ | The input script to be run. |
 +| State | Integer | ""​ | Returns the current running state of the class. |
 +| Timeout | Integer | ""​ | Sets the running timeout for the script. Value cannot be greater than 32767, or less than 0. |
 +
 +==== Examples ====
 +There are currently no examples for this class.