回覆 Yucie
佩服 老土講句,冇話pro唔programmer,肯學既人人都係programmer,我想control recentr ...
ihmcjacky 發表於 2015-4-3 13:35 
####### 開始錄影 ########
win32api.keybd_event(win32con.VK_F7, 0, 0, 0)
win32api.keybd_event(win32con.VK_F7, 0, win32con.KEYEVENTF_KEYUP, 0)
time.sleep(self.stop_wait_time-self.start_wait_time-30)
####### 停止錄影 ########
########## 把RECentral 放到最前面 ##########
print check_recentral2
win32gui.ShowWindow(check_recentral2, win32con.SW_SHOWNORMAL)
time.sleep(5)
win32gui.SetForegroundWindow(check_recentral)
win32api.keybd_event(win32con.VK_F7, 0, 0, 0)
time.sleep(1)
win32api.keybd_event(win32con.VK_F7, 0, win32con.KEYEVENTF_KEYUP, 0) |