Skip to content

Commit cc3d4c2

Browse files
committed
add keyword doc
add keyword doc
1 parent e900b65 commit cc3d4c2

File tree

4 files changed

+101
-48
lines changed

4 files changed

+101
-48
lines changed

.idea/workspace.xml

+51-41
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
AutoControl Keyword Doc
2+
==========================
3+
4+
5+
.. code-block:: python
6+
7+
this doc show all keyword can use on keyword json or execute keyword
8+
9+
format like this : ["keyword": actually_execute_function_name]
10+
11+
write on json like this:
12+
[
13+
["keyword", {"param_name": param_value}],
14+
["keyword", {"param_name": param_value}]
15+
]
16+
17+
# mouse
18+
"mouse_left": click_mouse,
19+
"mouse_right": click_mouse,
20+
"mouse_middle": click_mouse,
21+
"click_mouse": click_mouse,
22+
"mouse_table": get_mouse_table,
23+
"position": position,
24+
"press_mouse": press_mouse,
25+
"release_mouse": release_mouse,
26+
"scroll": scroll,
27+
"set_position": set_position,
28+
"special_table": get_special_table,
29+
# keyboard
30+
"keys_table": get_keys_table,
31+
"type_key": type_key,
32+
"press_key": press_key,
33+
"release_key": release_key,
34+
"check_key_is_press": check_key_is_press,
35+
"write": write,
36+
"hotkey": hotkey,
37+
# image
38+
"locate_all_image": locate_all_image,
39+
"locate_image_center": locate_image_center,
40+
"locate_and_click": locate_and_click,
41+
# screen
42+
"size": size,
43+
"screenshot": screenshot,
44+
# test record
45+
"set_record_enable": test_record_instance.set_record_enable,
46+
# generate html
47+
"generate_html": generate_html,
48+
# record
49+
"record": record,
50+
"stop_record": stop_record,
-7
Original file line numberDiff line numberDiff line change
@@ -1,7 +0,0 @@
1-
[
2-
["type_key", {"keycode": 0}],
3-
["mouse_left", {"mouse_keycode": "mouse_left", "x": 500, "y": 500}],
4-
["position"],
5-
["press_mouse", {"mouse_keycode": "mouse_left", "x": 500, "y": 500}],
6-
["release_mouse", {"mouse_keycode": "mouse_left", "x": 500, "y": 500}]
7-
]

0 commit comments

Comments
 (0)