autoit3实现非标控件点击
许多财务软件里面用了非标控件, 使得第三方操控软件无法抓取或点击按钮, 于是我们可以用autoit3快速实现这个功能,
Local $hWnd2 = WinWaitActive("单据查询", "", 10)
ConsoleWrite($hWnd2 & @CRLF)
Local $control = ControlGetHandle($hWnd2,"","TRzDBNavigator1")
ConsoleWrite($control & @CRLF)
Local $state = ControlClick($hWnd2,"", $control,"left",1, 130, 45)
ConsoleWrite($state)