computer-use-ootb-internal 0.0.184__py3-none-any.whl → 0.0.186__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- computer_use_ootb_internal/preparation/excel_prepare.py +1 -1
- computer_use_ootb_internal/preparation/powerpoint_prepare.py +2 -2
- computer_use_ootb_internal/preparation/pr_prepare.py +8 -7
- computer_use_ootb_internal/preparation/word_prepare.py +2 -2
- {computer_use_ootb_internal-0.0.184.dist-info → computer_use_ootb_internal-0.0.186.dist-info}/METADATA +1 -1
- {computer_use_ootb_internal-0.0.184.dist-info → computer_use_ootb_internal-0.0.186.dist-info}/RECORD +8 -8
- {computer_use_ootb_internal-0.0.184.dist-info → computer_use_ootb_internal-0.0.186.dist-info}/WHEEL +0 -0
- {computer_use_ootb_internal-0.0.184.dist-info → computer_use_ootb_internal-0.0.186.dist-info}/entry_points.txt +0 -0
@@ -85,7 +85,7 @@ def run_preparation(state):
|
|
85
85
|
cmd = ['cmd', '/c', 'start', '/max', 'excel']
|
86
86
|
|
87
87
|
log.info(f"Executing command: {' '.join(cmd)}")
|
88
|
-
result = subprocess.run(cmd, check=False, capture_output=True, text=True, creationflags=subprocess.CREATE_NO_WINDOW)
|
88
|
+
result = subprocess.run(cmd, check=False, capture_output=True, text=True, creationflags=subprocess.CREATE_NO_WINDOW)
|
89
89
|
|
90
90
|
if result.returncode == 0:
|
91
91
|
log.info(f"Successfully executed command for Excel.")
|
@@ -87,8 +87,8 @@ def run_preparation(state):
|
|
87
87
|
cmd = ['cmd', '/c', 'start', '/max', 'powerpnt']
|
88
88
|
|
89
89
|
log.info(f"Executing command: {' '.join(cmd)}")
|
90
|
-
result = subprocess.run(cmd, check=False, capture_output=True, text=True, creationflags=subprocess.CREATE_NO_WINDOW)
|
91
|
-
|
90
|
+
result = subprocess.run(cmd, check=False, capture_output=True, text=True, creationflags=subprocess.CREATE_NO_WINDOW)
|
91
|
+
|
92
92
|
if result.returncode == 0:
|
93
93
|
log.info(f"Successfully executed command for PowerPoint.")
|
94
94
|
else:
|
@@ -77,23 +77,24 @@ def run_preparation(state):
|
|
77
77
|
|
78
78
|
# Open the file with Premiere Pro maximized on Windows
|
79
79
|
try:
|
80
|
+
pr_executable = r"C:\Program Files\Adobe\Adobe Premiere Pro 2024\Adobe Premiere Pro.exe"
|
80
81
|
# Check if template exists and construct command accordingly
|
81
82
|
if template_file.exists():
|
82
83
|
log.info(f"Template file found. Attempting to open {template_file} with Premiere Pro maximized...")
|
83
|
-
#
|
84
|
-
cmd = ['cmd', '/c', 'start', '/max', '"
|
84
|
+
# Use empty title "" for start when executable path has spaces
|
85
|
+
cmd = ['cmd', '/c', 'start', '/max', '""', pr_executable, str(template_file)]
|
85
86
|
else:
|
86
87
|
log.info(f"Template file not found. Attempting to launch Premiere Pro maximized...")
|
87
|
-
cmd = ['cmd', '/c', 'start', '/max', '"
|
88
|
+
cmd = ['cmd', '/c', 'start', '/max', '""', pr_executable]
|
88
89
|
|
89
90
|
log.info(f"Executing command: {' '.join(cmd)}")
|
90
|
-
result = subprocess.run(cmd, check=False, capture_output=True, text=True, creationflags=subprocess.CREATE_NO_WINDOW)
|
91
|
-
|
91
|
+
result = subprocess.run(cmd, check=False, capture_output=True, text=True, creationflags=subprocess.CREATE_NO_WINDOW)
|
92
|
+
|
92
93
|
if result.returncode == 0:
|
93
94
|
log.info(f"Successfully executed command for Premiere Pro.")
|
94
95
|
else:
|
95
|
-
log.error(f"Error
|
96
|
-
if result.stdout:
|
96
|
+
log.error(f"Error executing command for Premiere Pro: {result.stderr.strip() if result else 'Command not run'}")
|
97
|
+
if result and result.stdout:
|
97
98
|
log.error(f"Stdout from start command: {result.stdout.strip()}")
|
98
99
|
except FileNotFoundError:
|
99
100
|
log.error("Error: 'cmd' or 'start' command not found. Ensure system PATH is configured correctly.")
|
@@ -85,8 +85,8 @@ def run_preparation(state):
|
|
85
85
|
cmd = ['cmd', '/c', 'start', '/max', 'winword']
|
86
86
|
|
87
87
|
log.info(f"Executing command: {' '.join(cmd)}")
|
88
|
-
result = subprocess.run(cmd, check=False, capture_output=True, text=True, creationflags=subprocess.CREATE_NO_WINDOW)
|
89
|
-
|
88
|
+
result = subprocess.run(cmd, check=False, capture_output=True, text=True, creationflags=subprocess.CREATE_NO_WINDOW)
|
89
|
+
|
90
90
|
if result.returncode == 0:
|
91
91
|
log.info(f"Successfully executed command for Word.")
|
92
92
|
else:
|
{computer_use_ootb_internal-0.0.184.dist-info → computer_use_ootb_internal-0.0.186.dist-info}/RECORD
RENAMED
@@ -34,12 +34,12 @@ computer_use_ootb_internal/computer_use_demo/tools/edit.py,sha256=b0PwUitxckHCQq
|
|
34
34
|
computer_use_ootb_internal/computer_use_demo/tools/run.py,sha256=xhXdnBK1di9muaO44CEirL9hpGy3NmKbjfMpyeVmn8Y,1595
|
35
35
|
computer_use_ootb_internal/computer_use_demo/tools/screen_capture.py,sha256=L8qfvtUkPPQGt92N-2Zfw5ZTDBzLsDps39uMnX3_uSA,6857
|
36
36
|
computer_use_ootb_internal/preparation/__init__.py,sha256=AgtGHcBpiTkxJjF0xwcs3yyQ6SyUvhL3G0vD2XO-zJw,63
|
37
|
-
computer_use_ootb_internal/preparation/excel_prepare.py,sha256=
|
38
|
-
computer_use_ootb_internal/preparation/powerpoint_prepare.py,sha256=
|
39
|
-
computer_use_ootb_internal/preparation/pr_prepare.py,sha256=
|
37
|
+
computer_use_ootb_internal/preparation/excel_prepare.py,sha256=YJMdIepwhgEjcdb6rFMizUlpGViIuZ6ISsN3JlMc0c0,4690
|
38
|
+
computer_use_ootb_internal/preparation/powerpoint_prepare.py,sha256=RQItrh2l4CScxZjjAlLKIxGXWvFbj3UKB09nKEcX38I,4927
|
39
|
+
computer_use_ootb_internal/preparation/pr_prepare.py,sha256=b1OBpMiHGg5kbjT9k9qsCMVKmVeP4neGBSTKBRT9uqE,5258
|
40
40
|
computer_use_ootb_internal/preparation/star_rail_prepare.py,sha256=r0b19M_c1sXkN3_MRFjql8w_ThC9nZUe8zbSLYUvKS8,4635
|
41
|
-
computer_use_ootb_internal/preparation/word_prepare.py,sha256=
|
42
|
-
computer_use_ootb_internal-0.0.
|
43
|
-
computer_use_ootb_internal-0.0.
|
44
|
-
computer_use_ootb_internal-0.0.
|
45
|
-
computer_use_ootb_internal-0.0.
|
41
|
+
computer_use_ootb_internal/preparation/word_prepare.py,sha256=XhbJQVGUx-InsHUt2MVY7wvlJEa-J-4qqYXqJ8UcV6g,4685
|
42
|
+
computer_use_ootb_internal-0.0.186.dist-info/METADATA,sha256=vZVGdzQ8dwc5lYW5JB5oZdIMqy6Hk_1hVc4Jh6HX10Y,1048
|
43
|
+
computer_use_ootb_internal-0.0.186.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
44
|
+
computer_use_ootb_internal-0.0.186.dist-info/entry_points.txt,sha256=bXfyAU_qq-G1EiEgAQEioXvgEdRCFxaTooqdDD9Y4OA,258
|
45
|
+
computer_use_ootb_internal-0.0.186.dist-info/RECORD,,
|
{computer_use_ootb_internal-0.0.184.dist-info → computer_use_ootb_internal-0.0.186.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|