|
7 | 7 | callback_executor
|
8 | 8 | # Critical
|
9 | 9 | from je_auto_control.utils.critical_exit.critcal_exit import CriticalExit
|
| 10 | +from je_auto_control.utils.cv2_utils.screen_record import ScreenRecorder |
| 11 | +# utils cv2_utils |
| 12 | +from je_auto_control.utils.cv2_utils.screenshot import pil_screenshot |
10 | 13 | from je_auto_control.utils.exception.exceptions import \
|
11 | 14 | AutoControlActionException
|
12 | 15 | from je_auto_control.utils.exception.exceptions import \
|
|
32 | 35 | from je_auto_control.utils.executor.action_executor import execute_action
|
33 | 36 | from je_auto_control.utils.executor.action_executor import execute_files
|
34 | 37 | from je_auto_control.utils.executor.action_executor import executor
|
35 |
| -from je_auto_control.utils.project.create_project_structure import \ |
36 |
| - create_project_dir |
37 | 38 | # file process
|
38 | 39 | from je_auto_control.utils.file_process.get_dir_file_list import \
|
39 | 40 | get_dir_files_as_list
|
|
51 | 52 | generate_xml
|
52 | 53 | from je_auto_control.utils.generate_report.generate_xml_report import \
|
53 | 54 | generate_xml_report
|
54 |
| -# utils image |
55 |
| -from je_auto_control.utils.image.screenshot import pil_screenshot |
56 | 55 | # json
|
57 | 56 | from je_auto_control.utils.json.json_file import read_action_json
|
58 | 57 | from je_auto_control.utils.json.json_file import write_action_json
|
59 | 58 | # package manager
|
60 | 59 | from je_auto_control.utils.package_manager.package_manager_class import \
|
61 | 60 | package_manager
|
| 61 | +from je_auto_control.utils.project.create_project_structure import \ |
| 62 | + create_project_dir |
| 63 | +# Scheduler |
| 64 | +from je_auto_control.utils.scheduler.extend_apscheduler import SchedulerManager |
| 65 | +# Shell command |
| 66 | +from je_auto_control.utils.shell_process.shell_exec import ShellManager |
| 67 | +from je_auto_control.utils.shell_process.shell_exec import default_shell_manager |
62 | 68 | # socket server
|
63 | 69 | from je_auto_control.utils.socket_server.auto_control_socket_server import \
|
64 | 70 | start_autocontrol_socket_server
|
| 71 | +# Start exe |
| 72 | +from je_auto_control.utils.start_exe.start_another_process import start_exe |
65 | 73 | # test record
|
66 | 74 | from je_auto_control.utils.test_record.record_test_class import \
|
67 | 75 | test_record_instance
|
|
83 | 91 | from je_auto_control.wrapper.auto_control_keyboard import write
|
84 | 92 | # import mouse
|
85 | 93 | from je_auto_control.wrapper.auto_control_mouse import click_mouse
|
86 |
| -from je_auto_control.wrapper.auto_control_mouse import mouse_keys_table |
87 | 94 | from je_auto_control.wrapper.auto_control_mouse import get_mouse_position
|
| 95 | +from je_auto_control.wrapper.auto_control_mouse import mouse_keys_table |
| 96 | +from je_auto_control.wrapper.auto_control_mouse import mouse_scroll |
88 | 97 | from je_auto_control.wrapper.auto_control_mouse import press_mouse
|
89 | 98 | from je_auto_control.wrapper.auto_control_mouse import release_mouse
|
90 |
| -from je_auto_control.wrapper.auto_control_mouse import mouse_scroll |
91 | 99 | from je_auto_control.wrapper.auto_control_mouse import set_mouse_position
|
92 | 100 | from je_auto_control.wrapper.auto_control_mouse import special_mouse_keys_table
|
93 | 101 | # test_record
|
94 | 102 | from je_auto_control.wrapper.auto_control_record import record
|
95 | 103 | from je_auto_control.wrapper.auto_control_record import stop_record
|
96 |
| -from je_auto_control.wrapper.auto_control_screen import screenshot |
97 | 104 | # import screen
|
98 | 105 | from je_auto_control.wrapper.auto_control_screen import screen_size
|
99 |
| -# Shell command |
100 |
| -from je_auto_control.utils.shell_process.shell_exec import ShellManager |
101 |
| -from je_auto_control.utils.shell_process.shell_exec import default_shell_manager |
102 |
| -# Start exe |
103 |
| -from je_auto_control.utils.start_exe.start_another_process import start_exe |
104 |
| -# Scheduler |
105 |
| -from je_auto_control.utils.scheduler.extend_apscheduler import SchedulerManager |
| 106 | +from je_auto_control.wrapper.auto_control_screen import screenshot |
106 | 107 |
|
107 | 108 | __all__ = [
|
108 | 109 | "click_mouse", "mouse_keys_table", "get_mouse_position", "press_mouse", "release_mouse",
|
|
0 commit comments