举报
#include <WinAPI.au3> sleep(200) WinActivate(_shi()) Send("{ENTER}") Func _shi() Local $aWindows, $i, $text1, $text2, $text3 $aWindows = _WinAPI_EnumWindows() For $i = 1 To $aWindows[0][0] $text1 = $aWindows[$i][0] $text2 = $aWindows[$i][1] $text3 = WinGetTitle($aWindows[$i][0]) If IsHWnd($text1) And $text2 = "Button" And $text3 = "是" Then Return $text1 ExitLoop EndIf Next EndFunc
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2025-2-23 00:53 , Processed in 0.099302 second(s), 24 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2024 Discuz! Team.