|
10 | 10 | from je_auto_control.utils.cv2_utils.screen_record import ScreenRecorder
|
11 | 11 | # utils cv2_utils
|
12 | 12 | from je_auto_control.utils.cv2_utils.screenshot import pil_screenshot
|
| 13 | +# Recording |
| 14 | +from je_auto_control.utils.cv2_utils.video_recording import RecordingThread |
13 | 15 | from je_auto_control.utils.exception.exceptions import \
|
14 | 16 | AutoControlActionException
|
15 | 17 | from je_auto_control.utils.exception.exceptions import \
|
|
74 | 76 | # timeout
|
75 | 77 | from je_auto_control.utils.timeout.multiprocess_timeout import \
|
76 | 78 | multiprocess_timeout
|
| 79 | +# Windows |
| 80 | +from je_auto_control.windows.window import windows_window_manage |
77 | 81 | from je_auto_control.wrapper.auto_control_image import locate_all_image
|
78 | 82 | from je_auto_control.wrapper.auto_control_image import locate_and_click
|
79 | 83 | from je_auto_control.wrapper.auto_control_image import locate_image_center
|
|
85 | 89 | from je_auto_control.wrapper.auto_control_keyboard import keyboard_keys_table
|
86 | 90 | from je_auto_control.wrapper.auto_control_keyboard import press_keyboard_key
|
87 | 91 | from je_auto_control.wrapper.auto_control_keyboard import release_keyboard_key
|
| 92 | +from je_auto_control.wrapper.auto_control_keyboard import send_key_event_to_window |
88 | 93 | from je_auto_control.wrapper.auto_control_keyboard import type_keyboard
|
89 | 94 | from je_auto_control.wrapper.auto_control_keyboard import write
|
90 |
| -from je_auto_control.wrapper.auto_control_keyboard import send_key_event_to_window |
91 | 95 | # import mouse
|
92 | 96 | from je_auto_control.wrapper.auto_control_mouse import click_mouse
|
93 | 97 | from je_auto_control.wrapper.auto_control_mouse import get_mouse_position
|
94 | 98 | from je_auto_control.wrapper.auto_control_mouse import mouse_keys_table
|
95 | 99 | from je_auto_control.wrapper.auto_control_mouse import mouse_scroll
|
96 | 100 | from je_auto_control.wrapper.auto_control_mouse import press_mouse
|
97 | 101 | from je_auto_control.wrapper.auto_control_mouse import release_mouse
|
| 102 | +from je_auto_control.wrapper.auto_control_mouse import send_mouse_event_to_window |
98 | 103 | from je_auto_control.wrapper.auto_control_mouse import set_mouse_position
|
99 | 104 | from je_auto_control.wrapper.auto_control_mouse import special_mouse_keys_table
|
100 |
| -from je_auto_control.wrapper.auto_control_mouse import send_mouse_event_to_window |
101 | 105 | # test_record
|
102 | 106 | from je_auto_control.wrapper.auto_control_record import record
|
103 | 107 | from je_auto_control.wrapper.auto_control_record import stop_record
|
104 | 108 | # import screen
|
105 | 109 | from je_auto_control.wrapper.auto_control_screen import screen_size
|
106 | 110 | from je_auto_control.wrapper.auto_control_screen import screenshot
|
107 |
| -# Recording |
108 |
| -from je_auto_control.utils.cv2_utils.video_recording import RecordingThread |
109 |
| -# Windows |
110 |
| -from je_auto_control.windows.window import windows_window_manage |
| 111 | +from je_auto_control.wrapper.auto_control_screen import get_pixel |
111 | 112 |
|
112 | 113 | __all__ = [
|
113 | 114 | "click_mouse", "mouse_keys_table", "get_mouse_position", "press_mouse", "release_mouse",
|
|
124 | 125 | "generate_html", "generate_html_report", "generate_json", "generate_json_report", "generate_xml",
|
125 | 126 | "generate_xml_report", "get_dir_files_as_list", "create_project_dir", "start_autocontrol_socket_server",
|
126 | 127 | "callback_executor", "package_manager", "get_special_table", "ShellManager", "default_shell_manager",
|
127 |
| - "RecordingThread", "send_key_event_to_window", "send_mouse_event_to_window", "windows_window_manage" |
| 128 | + "RecordingThread", "send_key_event_to_window", "send_mouse_event_to_window", "windows_window_manage", |
| 129 | + "ScreenRecorder", "get_pixel" |
128 | 130 | ]
|
0 commit comments