Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5    Statistic  

Component: WindowsScript

Run Windows Scripts.

Microsoft did not port the ScriptControl to 64-bit, so the official control coming with Windows, is only for 32-bit.

Alternative, you can install Tablacus Script Control 64 to get it working in 64-bit.
http://www.eonet.ne.jp/~gakana/tablacus/scriptcontrol_en.html

Item Details
WindowsScript.AddCode
Adds the code to the specified script.
Win only
1.1
WindowsScript.Close
Removes the specified script from memory.
Win only
1.1
WindowsScript.Create
Creates a Windows Script in memory.
Win only
1.1
WindowsScript.ErrorClear
Clears the old errors
Win only
1.1
WindowsScript.ErrorColumn
Returns the error column of the last error.
Win only
1.1
WindowsScript.ErrorDescription
Returns the text description of the error.
Win only
1.1
WindowsScript.ErrorLine
Returns the error line of the last error.
Win only
1.1
WindowsScript.ErrorNumber
Returns the number of the last error in a VB script.
Win only
1.1
WindowsScript.ErrorSource
This function returns the name of the module that had the error.
Win only
1.1
WindowsScript.ErrorText
Returns the Line of the Script that contains the error.
Win only
1.1
WindowsScript.Eval
Evaluates the "text" and returns the result.
Win only
1.1
WindowsScript.ExecuteFunction
Runs the script specified by the Script ID.
Win only
1.1
WindowsScript.ExecuteStatement
Executes a statement.
Win only
1.1
WindowsScript.GetAllowUI
Returns the Allow UI State of the specified script.
Win only
1.1
WindowsScript.GetLanguage
Queries the current language.
Win only
1.1
WindowsScript.GetTimeout
Each script has a setting that dictates how long a script will wait before timing out.
Win only
1.1
WindowsScript.GetUseSafeSubset
Returns the Safe Subset State of the specified script.
Win only
1.1
WindowsScript.SetAllowUI
Sets the "Allow UI State of the specified script.
Win only
1.1
WindowsScript.SetLanguage
Returns the Line of the Script that contains the error.
Win only
1.1
WindowsScript.SetTimeout
Each script has a setting that dictates how long a script will wait before timing out.
Win only
1.1
WindowsScript.SetUseSafeSubset
Sets the Safe Subset State of the specified script.
Win only
1.1

21 functions.

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins