Jump to content

how to use "ControlLeftClick ( )" ??


cxcio
 Share

Recommended Posts

  • Developers

You get the classname but not the value.

AU3_SPY is the only way I know

My translator translated the

how to get the "classnameNN" value

to: Need to know the name of the Class thats wanted, not its value, because this is the function to be used : ControlLeftClick ( "title", "text", "classnameNN") Edited by JdeB

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

JdeB,

I don't understand your answer

with WinGetClassList( "title", ["text"] ) you get only "Classname" NOT "ClassnameNN"

so if you need to Know NN I really think that AU3_SPY is the tool

Usually NN is 1 but on specific Application you may want to reference a specific one not only the first one.

Link to comment
Share on other sites

  • Developers

I knew there had to something I was missing here... :whistle:

:iamstupid: understand now...

I had a similar issue when using the AU3_Spy.exe on a AutoIT Splash screen. It didn't tell me that the control was called "Static1" so i ran the WinGetClassList() and found "Static" and added the 1..

sorry for the confusion....

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Developers

did you click on the window that you want to check out ?

Edited by JdeB

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

did you click on the window that you want to check out ?

with au3_spy, i got the control name is ThunderRT6CommanddButton4,

then use ControlLeftClick("WindowTitle","","ThunderRT6CommanddButton4")

is it right ?

but failed ...

Edited by cxcio
Link to comment
Share on other sites

with au3_spy, i got the control name is ThunderRT6CommanddButton4,

then use ControlLeftClick("WindowTitle","","ThunderRT6CommanddButton4")

is it right ?

but failed ...

The Control* functions are not guaranteed to work on non-standard controls. They aren't even guaranteed to work on standard controls, but most of the time it does. You could try using ControlSend and sending it a space or something if it's a button. Edited by Valik
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...