Home > Creating a Script > More Recording Features > Low Level Recording

Low Level Recording

In standard Recording mode, WinTask x64 records only meaningful high-level user actions, such as button click or item selection. All user actions are recorded in an object-oriented manner. For instance, no matter how you select a menu item (mouse click, shortcut, <Alt> and arrow), the generated code is the same: a ChooseMenu function is recorded. This is the preferred way of recording scripts.

In certain cases, however, you may need to record detailed low level mouse and keyboard actions: all mouse motions, mouse clicks, keyboard events as well as the delays between these events. This recording mode is called Low Level Recording Mode.

Within some applications or in a certain part of an application, the standard Recording mode is not able to see the objects and then temporarily you can use Low Level Recording mode.

To switch from standard Recording mode to Low Level Recording mode, from the Configure menu in the WinTask x64 Editor window, select Recording and check/uncheck Low level Recording. If you check Record all mouse moves, any mouse move will be recorded (note that this causes many lines to be recorded in the script).


The following example clarifies the difference between the two recording modes.

The actions to be recorded are:

  1. Enter some text in Notepad
  2. Use the mouse to select the File/Quit menu item
  3. In the Save dialog, press Tab to select the No button
  4. Press the Enter key.

In normal Recording mode (the default) :

UseWindow("NOTEPAD.EXE|Edit|Untitled - Notepad|1",1)
    SendKeys("aaaaa")
    UseWindow("NOTEPAD.EXE|Notepad|Untitled - Notepad",1)
    ChooseMenu(Normal,"&File|E&xit")
    UseWindow("NOTEPAD.EXE|#32770|Notepad",1)
    Click(Button,"&No")

When the option Low level Recording is used :

UseWindow("NOTEPAD.EXE|Edit|Untitled - Notepad|1",1)
SendKeys("aaaaa")
UseWindow("NOTEPAD.EXE|Edit|Untitled - Notepad|1",1, NoActivate)
ClickMouse(Left,Down,33,38)
ClickMouse(Left,Up,33,38)
ClickMouse(Left,Down,62,180)
ClickMouse(Left,Up,62,180)
UseWindow("NOTEPAD.EXE|Button|&Yes",1, NoActivate)
SendKeys("<Tab>")
UseWindow("NOTEPAD.EXE|Button|&No",1, NoActivate)
SendKeys("<Enter>")

See also
 Real Time Recording