Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

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

Version macOS Windows Linux Server iOS SDK
1.1 ❌ No ✅ Yes ❌ No ✅ Yes, on Windows ❌ No

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 shown.

Blog Entries

Example Databases