Jump to content

"ControlClick" for "WindowsForms10.STATIC.app.0.378734a"


 Share

Recommended Posts

My knowledge about "AutoIt" is very limited , I trying to study it by automating a GUI. I am stuck in automating a mouse click . I am using the following option

ControlClick( "EasyConnect","", "WindowsForms10.STATIC.app.0.378734a2")

But not working , Can any one help me with this problem .

The Summary of AutoIt V3 Window Info for the Control is given below

>>>> Window <<<<

Title: EasyConnect

Class: WindowsForms10.window.8.app.0.378734a

Position: -4, -4

Size: 1032, 748

Style: 0x17CF0000

ExStyle: 0x00050100

Handle: 0x006D03E2

>>>> Control <<<<

Class: WindowsForms10.STATIC.app.0.378734a

Instance: 2

ClassnameNN: WindowsForms10.STATIC.app.0.378734a2

Name: linkMru1

Advanced (Class): [NAME:linkMru1]

ID: 3998918

Text: C:\Documents and Settings\Joseph\Desktop\KAMSTRUP.ecc

Position: 327, 161

Size: 254, 13

ControlClick Coords: 135, 10

Style: 0x5601000D

ExStyle: 0x00000000

Handle: 0x003D04C6

>>>> Mouse <<<<

Position: 462, 190

Cursor ID: 0

Color: 0xFF8000

>>>> StatusBar <<<<

>>>> ToolsBar <<<<

>>>> Visible Text <<<<

Recent Files

C:\Documents and Settings\Joseph\Desktop\KAMSTRUP.ecc

C:\Documents and Settings\Joseph\Desktop\Dump\sssss.ecc

C:\DOCUME~1\Joseph\LOCALS~1\Temp\S16R2-TEST 1-0.ecc

support@kalkitech.com

C:\DOCUME~1\Joseph\LOCALS~1\Temp\Rar$DI06.360\LN single channel.ecc

www.kalkitech.com

Resources

Help

About

C:\Documents and Settings\Joseph\Desktop\PS.ecc

Standard

Settings

Diagnostics

Help

mnuMainMenuStrip

>>>> Hidden Text <<<<

Link to comment
Share on other sites

i think it shud b

"[CLASS:WindowsForms10.STATIC.app.0.378734a; INSTANCE:2]"

instead

"WindowsForms10.STATIC.app.0.378734a2"

TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
There are those that believe that the perfect heist lies in the preparation.
Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.

 
Link to comment
Share on other sites

I think you need to do:

ControlClick( "EasyConnect","", "[CLASSNN:WindowsForms10.STATIC.app.0.378734a2]","Left",1)

*edit*

LOL I was on the phone in the middle of typing this post. So BogQ beat me to it.

Edited by kaotkbliss

010101000110100001101001011100110010000001101001011100110010000

001101101011110010010000001110011011010010110011100100001

My Android cat and mouse game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

Link to comment
Share on other sites

I think you need to do:

ControlClick( "EasyConnect","", "[CLASSNN:WindowsForms10.STATIC.app.0.378734a2]","Left",1)

*edit*

LOL I was on the phone in the middle of typing this post. So BogQ beat me to it.

Thank You for the Reply , but still not working !!!!

What to do now , I getting the "Controlclick" return as "1" ie successful .

I tried to identify the controls used from the C# project . The controls were

1. BackgroundWorker

2. Linklabel

But the Window Info tool is identifying it as STATIC control , Is this the reason for the problem .

Please Help !!!!!!

Link to comment
Share on other sites

Remarks

Some controls will resist clicking unless they are the active window. Use the WinActivate() function to force the control's window to the top before using ControlClick().

did you try this?

TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
There are those that believe that the perfect heist lies in the preparation.
Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.

 
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...