Skip to content

Commit

Permalink
Merge pull request #5 from jinzhijie/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
SerinaNya authored Mar 25, 2020
2 parents 8d6edc0 + a658d67 commit c756c11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def ops(self, user_op_type, hwnd):
keys = input('请输入你的按键 >>>')
self.do(keyboard.input, loop_time, (hwnd, keys))
elif operation == 'enter':
self.do(keyboard.enter, loop_time, (hwnd))
self.do(keyboard.enter, loop_time, (hwnd, ))

def main(self):
win32gui.EnumWindows(self.get_hwnd_with_keyword, None) # 枚举屏幕上所有的顶级窗口,第一个参数为 callback,第二个没啥用。得到关键字窗口
Expand Down

0 comments on commit c756c11

Please sign in to comment.