Error codes for Windows management functions

The table below lists the possible error codes for the WinTask Windows management functions, for the errors stopping script execution (unless #IgnoreErrors=1).

 

41

Window not found (or window handle not found)

42

Window name empty

43

No window specified

44

Impossible to move the window

45

Impossible to resize the window

46

Focus change error

48

Impossible to find Edit box

49

Impossible to find Combobox

50

Impossible to attach to Combobox

51

Impossible to find Listbox control

52

Impossible to find Combobox control

53

Impossible to find Listview control

54

Impossible to find Treeview control

55

Impossible to find button

56

Impossible to find checkbox

57

Impossible to find radiobutton

58

Impossible to find Tab

59

Invalid scrollbar

60

Impossible to create the msgframe

61

New coordinates for window are out of the screen

62

Impossible to read window size

64

Out of screen

65

Item not found

75

Empty menu name

76

Menu not found

77

Menu attach error

78

Menu item not found

90

Internal error

95

Invalid instance number

98

Error in key list inside instruction SendKeys

99

Invalid parameter

105

Invalid UI command (the User Interface is not available when running a non-interactive task via Scheduler)

106

Invalid toolbar

108

Invalid Regular Expression