Sean3500 Posted July 20, 2015 Share Posted July 20, 2015 Hello i;m trying to access my webpage from a minimized window and click on the page. I will know if the minimized page has been clicked because of my scripting on my page. I've successfully minimized my web browser but for some reason when I use Control Click, theres no click being generated on my page. I have the auto info summary, but im not sure which values i should put in my Control Click. Here's my code snippet========Local $hWnd = WinWait("MyPageTitle", "")WinSetState ($hWnd, "", @SW_MINIMIZE)ControlClick($hWnd, "", "1436582320") Here's my Autoit info summary==========>>>> Window <<<<Title: MyButton - Google ChromeClass: Chrome_WidgetWin_1Position: -8, -8Size: 1382, 744Style: 0x1FCF0000ExStyle: 0x00000100Handle: 0x0000000000210340>>>> Control <<<<Class: Chrome_RenderWidgetHostHWNDInstance: 1ClassnameNN: Chrome_RenderWidgetHostHWND1Name: Advanced (Class): [CLASS:Chrome_RenderWidgetHostHWND; INSTANCE:1]ID: 1436582320Text: Chrome Legacy WindowPosition: 0, 69Size: 1366, 667ControlClick Coords: 607, 320Style: 0x56300000ExStyle: 0x00000020Handle: 0x00000000001409CC>>>> Mouse <<<<Position: 607, 381Cursor ID: 0Color: 0xFFA500>>>> StatusBar <<<<>>>> ToolsBar <<<<>>>> Visible Text <<<<Chrome Legacy Window>>>> Hidden Text <<<< Link to comment Share on other sites More sharing options...
junkew Posted July 20, 2015 Share Posted July 20, 2015 That will not work. Search for ie.udf chrome.udf ff.udf and iuiautomation FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets Link to comment Share on other sites More sharing options...
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