# shell = win32com.client.Dispatch('WScript.Shell')
# shell.SendKeys('%')
# win32gui.SetForegroundWindow(ceshi)
SetForegroundWindow 之前需要先激活他,比如输入一个按键
最新推荐文章于 2022-08-14 21:13:58 发布
# shell = win32com.client.Dispatch('WScript.Shell')
# shell.SendKeys('%')
# win32gui.SetForegroundWindow(ceshi)