|
|
|
@ -99,7 +99,10 @@ def close(): |
|
|
|
import win32process |
|
|
|
import win32process |
|
|
|
|
|
|
|
|
|
|
|
# 应用程序的窗口名称 |
|
|
|
# 应用程序的窗口名称 |
|
|
|
window_name = "赛纳3D打印控制系统 V1.4.3.2" |
|
|
|
window_name = cfg('exe.soft_name', None) |
|
|
|
|
|
|
|
if window_name is None: |
|
|
|
|
|
|
|
print(f"错误:切片软件名称未配置") |
|
|
|
|
|
|
|
exit(1) |
|
|
|
|
|
|
|
|
|
|
|
print(f"正在查找窗口: {window_name}") |
|
|
|
print(f"正在查找窗口: {window_name}") |
|
|
|
|
|
|
|
|
|
|
|
|