#Include <WinAPI.au3> Global $title="[class:KeyboardTest]" Global $hwnd=WinGetHandle ($title) WinActivate ($title) Sleep (1000) ;MsgBox (0,"T",$hwnd&' '&$title) _WinAPI_PostMessage($hwnd,0x0100,56,0)
举报
#include <WinAPIEx.au3> _WinAPI_Keybd_Event(0x5B, 0, 0 ,0) _WinAPI_Keybd_Event(68, 0, 0 ,0) _WinAPI_Keybd_Event(68, 0, $KEYEVENTF_KEYUP ,0) _WinAPI_Keybd_Event(0x5B, 0, $KEYEVENTF_KEYUP,0)
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2024-11-6 09:47 , Processed in 0.078012 second(s), 23 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2024 Discuz! Team.