forked from pywinauto/SWAPY
-
Notifications
You must be signed in to change notification settings - Fork 3
/
const.py
66 lines (60 loc) · 2.16 KB
/
const.py
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
# GUI object/properties browser.
# Copyright (C) 2011 Matiychuk D.
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public License
# as published by the Free Software Foundation; either version 2.1
# of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the
# Free Software Foundation, Inc.,
# 59 Temple Place,
# Suite 330,
# Boston, MA 02111-1307 USA
ACTIONS = {101: 'Close',
102: 'Click',
103: 'ClickInput',
104: 'CloseClick',
105: 'DoubleClick',
106: 'DoubleClickInput',
107: 'DragMouse',
108: 'DrawOutline',
109: 'Maximize',
110: 'Minimize',
111: 'MoveMouse',
112: 'MoveWindow',
113: 'PressMouse',
114: 'PressMouseInput',
115: 'ReleaseMouse',
116: 'ReleaseMouseInput',
117: 'Restore',
118: 'RightClick',
119: 'RightClickInput',
120: 'SetFocus',
121: 'Select',
122: 'Collapse',
123: 'Expand',
}
EXTENDED_ACTIONS = {201: 'Application.Start',
202: 'Application.Connect',
}
PROPERTIES_ACTIONS = {301: 'Copy all',
302: None,
303: 'Copy property',
304: 'Copy value',
305: 'Copy unicode value',
}
EDITOR_ACTIONS = {401: 'Clear last command',
402: 'Clear the code',
403: None,
404: 'Copy',
405: 'Select all',
406: None,
407: 'Save code to file'}
VERSION = '0.4.8'