Leonick Posted July 13, 2009 Posted July 13, 2009 Hey everybody. Since i only can make controlclick(Hidden) to work in Opera&FF, i wanna ask if anybody got an example of controlclick() working in minimized/hidden windows in IE!! that would be great.
Leonick Posted July 13, 2009 Author Posted July 13, 2009 Of curce I can give you a example Leonick! Here you go: #include <IE.au3> Opt("MouseCoordMode", 2) Opt("WinTitleMatchMode", 4) $hWnd = WinGetHandle("AutoIt Script Home Page - Windows Internet Explorer") ;WinWait($hWnd) ;If Not WinActive($hWnd) Then WinActivate($hWnd) ;WinWaitActive($hWnd) ; WINDOW IS NOT ACTIVE!! sleep(1000) ControlClick($hWnd, "", "Internet Explorer_Server1", "left", 1, 722, 125) ;;;;Opens The forum ; Does not Work when NOT active!! ;even statusbar only works when active $status=StatusbarGetText($hWnd) ConsoleWrite($status&@LF) just kidding...found the solution... #include <IE.au3> ;---IS NEEDED maybe this could help anyway someone. thx
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now