Sean3500

How To Click Web Page - Control Click

2 posts in this topic

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 Chrome
Class:    Chrome_WidgetWin_1
Position:    -8, -8
Size:    1382, 744
Style:    0x1FCF0000
ExStyle:    0x00000100
Handle:    0x0000000000210340

>>>> Control <<<<
Class:    Chrome_RenderWidgetHostHWND
Instance:    1
ClassnameNN:    Chrome_RenderWidgetHostHWND1
Name:    
Advanced (Class):    [CLASS:Chrome_RenderWidgetHostHWND; INSTANCE:1]
ID:    1436582320
Text:    Chrome Legacy Window
Position:    0, 69
Size:    1366, 667
ControlClick Coords:    607, 320
Style:    0x56300000
ExStyle:    0x00000020
Handle:    0x00000000001409CC

>>>> Mouse <<<<
Position:    607, 381
Cursor ID:    0
Color:    0xFFA500

>>>> StatusBar <<<<

>>>> ToolsBar <<<<

>>>> Visible Text <<<<
Chrome Legacy Window


>>>> Hidden Text <<<<

Share this post


Link to post
Share on other sites



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 account

Sign in

Already have an account? Sign in here.


Sign In Now