Home > Language Reference

Language Reference

WinTask x64 provides a simple but powerful language for automating Windows applications and websites. This language is similar in many respects to the VB™ programming language.

Recording mode generates the programming code and you can modify/enhance it using the resources provided in this section.

Every function available in WinTask x64 is described in this section. One or several examples for each function are provided. The examples are using the Windows 7 interface and Internet Explorer 11. They often use a folder called C:\wttest, you have to create it before running an example using it.  The created scripts are saved in their default folder: C:\Program files (x86)\WinTask\scripts or C:\Program files\WinTask\scripts if you use a 32 bits version of Windows. The notepad application is often used in those examples, it is the 32 bits version of notepad.

The following articles provide information for creating scripts directly through WinTask x64 Editor. 

Introduction to the Language
    Explains the general syntax of the WinTask x64 functions, the available variables type and operators.

System Variables
    Lists the System Variables used to modify the default behavior of WinTask x64.

Capture Functions
    Lists the functions needed for data extraction automation and output into spreadsheet, database or other file formats.

Database Functions
    Describes the functions needed to read, query and update a database.

Date/Time Functions
    Lists the functions managing Date and Time.

Excel Functions
    Describes the functions interacting directly with Excel without opening Excel (the Excel software must be installed).

File Functions
    Lists the functions managing files directly instead of using Explorer.

Floating Point Calculation Functions
    Describes the functions for adding, subtracting, mutiplying, dividing 2 real numbers.

FTP Functions
    Describes the FTP automation functions.

LogFile and Clipboard Functions
    Describes how to log execution and how to read Clipboard and write into it.

Program Flow Functions
    Lists the functions controlling the manner in which a script operates and the order its operations are executed.

Response Time Functions
    Describes the functions measuring response time.

String Management Functions
    Describes the functions manipulating any string or extracting part of a string to a variable.

System Functions
    Lists the functions interacting with Windows Operating System.

UI Automation Functions
    Describes the functions dealing with UI Automation framework.

User Dialog Functions
    Describes the functions prompting the user to enter some information needed by automation process.

Wait Functions
    Describes the functions waiting until the application or web page is ready before processing next action.

Web Functions
    Lists the functions needed for Web automation and Web Data Extraction.

Windows Management Functions
    Describes the functions dealing with the user interface of a Windows application.

XML Functions
    Lists the functions managing XML files.

Error Codes List
    Lists the possible error codes by type of function.

Alphabetical Functions List
    Table listing alphabetically all the functions.

Compilation
    Describes how to declare arrays, include scripts in a main one and how to insert comment in the code.