This repository has been archived by the owner on May 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
UIAutomation_Const_Enumerations.au3
142 lines (125 loc) · 6.43 KB
/
UIAutomation_Const_Enumerations.au3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
#include-once
#Region UIA_ENUM_TREESCOPE
;-- https://docs.microsoft.com/en-us/windows/win32/api/uiautomationclient/ne-uiautomationclient-treescope
Global Const $TreeScope_Element = 1
Global Const $TreeScope_Children = 2
Global Const $TreeScope_Descendants = 4
Global Const $TreeScope_Parent = 8
Global Const $TreeScope_Ancestors = 16
Global Const $TreeScope_Subtree = 7
#EndRegion UIA_ENUM_TREESCOPE
#Region UIA_ENUM_ELEMENT_NODE
;-- https://docs.microsoft.com/en-us/windows/win32/api/uiautomationclient/ne-uiautomationclient-automationelementmode
Global Const $AutomationElementMode_None = 0
Global Const $AutomationElementMode_Full = 1
#EndRegion UIA_ENUM_ELEMENT_NODE
#Region UIA_ENUM_ORIENTATION_TYPE
;-- https://docs.microsoft.com/en-us/windows/win32/api/uiautomationcore/ne-uiautomationcore-orientationtype
Global Const $OrientationType_None = 0
Global Const $OrientationType_Horizontal = 1
Global Const $OrientationType_Vertical = 2
#EndRegion UIA_ENUM_ORIENTATION_TYPE
#Region UIA_ENUM_PROPERTY_CONDITION_FLAGS
;-- https://docs.microsoft.com/en-us/windows/win32/api/uiautomationclient/ne-uiautomationclient-propertyconditionflags
Global Const $PropertyConditionFlags_None = 0
Global Const $PropertyConditionFlags_IgnoreCase = 1
Global Const $PropertyConditionFlags_MatchSubstring = 2
#EndRegion UIA_ENUM_PROPERTY_CONDITION_FLAGS
#Region UIA_ENUM_STRUCTURE_CHANGE_TYPE
;-- https://docs.microsoft.com/en-us/windows/win32/api/uiautomationcore/ne-uiautomationcore-structurechangetype
Global Const $StructureChangeType_ChildAdded = 0
Global Const $StructureChangeType_ChildRemoved = 1
Global Const $StructureChangeType_ChildrenInvalidated = 2
Global Const $StructureChangeType_ChildrenBulkAdded = 3
Global Const $StructureChangeType_ChildrenBulkRemoved = 4
Global Const $StructureChangeType_ChildrenReordered = 5
#EndRegion UIA_ENUM_STRUCTURE_CHANGE_TYPE
#Region UIA_ENUM_DOCK_POSITION
;-- https://docs.microsoft.com/en-us/windows/win32/api/uiautomationcore/ne-uiautomationcore-dockposition
Global Const $DockPosition_Top = 0
Global Const $DockPosition_Left = 1
Global Const $DockPosition_Bottom = 2
Global Const $DockPosition_Right = 3
Global Const $DockPosition_Fill = 4
Global Const $DockPosition_None = 5
#EndRegion UIA_ENUM_DOCK_POSITION
#Region UIA_ENUM_EXPAND_COLLAPSE_STATE
;-- https://docs.microsoft.com/en-us/windows/win32/api/uiautomationcore/ne-uiautomationcore-expandcollapsestate
Global Const $ExpandCollapseState_Collapsed = 0
Global Const $ExpandCollapseState_Expanded = 1
Global Const $ExpandCollapseState_PartiallyExpanded = 2
Global Const $ExpandCollapseState_LeafNode = 3
#EndRegion UIA_ENUM_EXPAND_COLLAPSE_STATE
#Region UIA_ENUM_SCROLL_AMOUNT
;-- https://docs.microsoft.com/en-us/windows/win32/api/uiautomationcore/ne-uiautomationcore-scrollamount
Global Const $ScrollAmount_LargeDecrement = 0
Global Const $ScrollAmount_SmallDecrement = 1
Global Const $ScrollAmount_NoAmount = 2
Global Const $ScrollAmount_LargeIncrement = 3
Global Const $ScrollAmount_SmallIncrement = 4
#EndRegion UIA_ENUM_SCROLL_AMOUNT
#Region UIA_ENUM_SYNC_INPUT_TYPE
;-- https://docs.microsoft.com/en-us/windows/win32/api/uiautomationcore/ne-uiautomationcore-synchronizedinputtype
Global Const $SynchronizedInputType_KeyUp = 1
Global Const $SynchronizedInputType_KeyDown = 2
Global Const $SynchronizedInputType_LeftMouseUp = 4
Global Const $SynchronizedInputType_LeftMouseDown = 8
Global Const $SynchronizedInputType_RightMouseUp = 16
Global Const $SynchronizedInputType_RightMouseDown = 32
#EndRegion UIA_ENUM_SYNC_INPUT_TYPE
#Region UIA_ENUM_ROW_COLUMN_MAJOR
;-- https://docs.microsoft.com/en-us/windows/win32/api/uiautomationcore/ne-uiautomationcore-roworcolumnmajor
Global Const $RowOrColumnMajor_RowMajor = 0
Global Const $RowOrColumnMajor_ColumnMajor = 1
Global Const $RowOrColumnMajor_Indeterminate = 2
#EndRegion UIA_ENUM_ROW_COLUMN_MAJOR
#Region UIA_ENUM_TOGGLE_STATE
;-- https://docs.microsoft.com/en-us/windows/win32/api/uiautomationcore/ne-uiautomationcore-togglestate
Global Const $ToggleState_Off = 0
Global Const $ToggleState_On = 1
Global Const $ToggleState_Indeterminate = 2
#EndRegion UIA_ENUM_TOGGLE_STATE
#Region UIA_ENUM_WINDOW_VISUAL_STATE
;-- https://docs.microsoft.com/en-us/windows/win32/api/uiautomationcore/ne-uiautomationcore-windowvisualstate
Global Const $WindowVisualState_Normal = 0
Global Const $WindowVisualState_Maximized = 1
Global Const $WindowVisualState_Minimized = 2
#EndRegion UIA_ENUM_WINDOW_VISUAL_STATE
#Region UIA_ENUM_WINDOW_INTERACTION_STATE
;-- https://docs.microsoft.com/en-us/windows/win32/api/uiautomationcore/ne-uiautomationcore-windowinteractionstate
Global Const $WindowInteractionState_Running = 0
Global Const $WindowInteractionState_Closing = 1
Global Const $WindowInteractionState_ReadyForUserInteraction = 2
Global Const $WindowInteractionState_BlockedByModalWindow = 3
Global Const $WindowInteractionState_NotResponding = 4
#EndRegion UIA_ENUM_WINDOW_INTERACTION_STATE
#Region UIA_ENUM_TEXT_PATTERN_RANGE_ENDPOINT
;-- https://docs.microsoft.com/en-us/windows/win32/api/uiautomationcore/ne-uiautomationcore-textpatternrangeendpoint
Global Const $TextPatternRangeEndpoint_Start = 0
Global Const $TextPatternRangeEndpoint_End = 1
#EndRegion UIA_ENUM_TEXT_PATTERN_RANGE_ENDPOINT
#Region UIA_ENUM_TEXT_UNIT
;-- https://docs.microsoft.com/en-us/windows/win32/api/uiautomationcore/ne-uiautomationcore-textunit
Global Const $TextUnit_Character = 0
Global Const $TextUnit_Format = 1
Global Const $TextUnit_Word = 2
Global Const $TextUnit_Line = 3
Global Const $TextUnit_Paragraph = 4
Global Const $TextUnit_Page = 5
Global Const $TextUnit_Document = 6
#EndRegion UIA_ENUM_TEXT_UNIT
#Region UIA_ENUM_SUPPORTED_TEXT_SELECTION
;-- https://docs.microsoft.com/en-us/windows/win32/api/uiautomationcore/ne-uiautomationcore-supportedtextselection
Global Const $SupportedTextSelection_None = 0
Global Const $SupportedTextSelection_Single = 1
Global Const $SupportedTextSelection_Multiple = 2
#EndRegion UIA_ENUM_SUPPORTED_TEXT_SELECTION
#Region UIA_ENUM_PROVIDER_OPTIONS
;-- https://docs.microsoft.com/en-us/windows/win32/api/uiautomationcore/ne-uiautomationcore-provideroptions
Global Const $ProviderOptions_ClientSideProvider = 1
Global Const $ProviderOptions_ServerSideProvider = 2
Global Const $ProviderOptions_NonClientAreaProvider = 4
Global Const $ProviderOptions_OverrideProvider = 8
Global Const $ProviderOptions_ProviderOwnsSetFocus = 16
Global Const $ProviderOptions_UseComThreading = 32
#EndRegion UIA_ENUM_PROVIDER_OPTIONS