File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -83,8 +83,10 @@ def main():
83
83
for obj in found ["arr" ]:
84
84
dbg = 1
85
85
if obj [4 ] == "explorer.exe" :
86
+ if obj [5 ].endswith (" - 文件资源管理器" ):
87
+ obj [5 ] = obj [5 ].replace (" - 文件资源管理器" ,"" )
86
88
explorer_arr .append (obj )
87
- explorer_arr .reverse ()
89
+ # explorer_arr.reverse()
88
90
started_arr = []
89
91
started_titles = []
90
92
error_list = []
@@ -99,6 +101,7 @@ def main():
99
101
started_titles .append (_window_title )
100
102
else :
101
103
os .system ('explorer.exe "{}"' .format (_window_title ))
104
+ time .sleep (0.1 )
102
105
started_arr .append (obj )
103
106
except Exception :
104
107
error_list .append (obj )
@@ -114,8 +117,10 @@ def main():
114
117
hwnd_all = update_hwnd_arr (return_value = True )
115
118
explorer_arr = []
116
119
for obj in hwnd_all ["arr" ]:
117
- dbg = 1
120
+ obj = list ( obj )
118
121
if obj [4 ] == "explorer.exe" :
122
+ if obj [5 ].endswith (" - 文件资源管理器" ):
123
+ obj [5 ] = obj [5 ].replace (" - 文件资源管理器" ,"" )
119
124
explorer_arr .append (obj )
120
125
dbg = 1
121
126
# # 引用
You can’t perform that action at this time.
0 commit comments