如何自动点击WebBrowser的中的FLASH
发布网友
发布时间:2023-04-24 03:58
我来回答
共1个回答
热心网友
时间:2023-10-11 03:31
'那就试试?
Private Declare Sub mouse_event Lib "user32" (ByVal dwFlags As Long, ByVal dx As Long, ByVal dy As Long, ByVal cButtons As Long, ByVal dwExtraInfo As Long)
Private Const MOUSEEVENTF_LEFTDOWN = &H2
Private Const MOUSEEVENTF_LEFTUP = &H4
mouse_event MOUSEEVENTF_LEFTDOWN Or MOUSEEVENTF_LEFTUP, X, Y, 0, 0 'x 和y代表坐标,写出你的坐标,要自动就把这句写在计时器事件里