Jump to content
Sign in to follow this  
Wisenlucky

Why this controlclick doesn't work

Recommended Posts

Wisenlucky

Hey everyone,

I am trying to send mouseclick to control, but just cant understand why it doesnt work. Please help as I might brake something useful in my head... Commands I've tried:
 

ControlClick("Logs","Clear","[CLASS: WindowsForms10.Window.8.app.0.141b42a_r10_ad1; INSTANCE:1]")
ControlClick("Logs","Clear","[CLASS: WindowsForms10.STATIC.app.0.141b42a_r10_ad1; INSTANCE:1]")
ControlClick("Logs","Clear","[CLASS: WindowsForms10.STATIC.app.0.141b42a_r10_ad11; INSTANCE:1]")
ControlClick("Logs","Clear","[ID: 593764]")
ControlClick("Logs","Clear",593764)

ControlClick("Logs","","[CLASS: WindowsForms10.Window.8.app.0.141b42a_r10_ad1; INSTANCE:1]")
ControlClick("Logs","","[CLASS: WindowsForms10.STATIC.app.0.141b42a_r10_ad1; INSTANCE:1]")
ControlClick("Logs","","[CLASS: WindowsForms10.STATIC.app.0.141b42a_r10_ad11; INSTANCE:1]")
ControlClick("Logs","","[ID: 593764]")
ControlClick("Logs","",593764)

And all the combinations with 

WinActivate("Logs")

Attached is the screenshot of Autoit Info window. Is it me? Or some "unclickable" control?

Spoiler

logs.jpg

Edited by Wisenlucky

Share this post


Link to post
Share on other sites
Jos

@Wisenlucky, Why post in a thread which is 6 years old and not really related? It's better to start your own new thread in cases like this.

Jos


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

Share this post


Link to post
Share on other sites
Wisenlucky

Got it, thanks Jos. Thought it was related thread.

Share this post


Link to post
Share on other sites
JLogan3o13

@Wisenlucky is this the Event Viewer logs or some other application? Can you be more specific as to what it is? Depending on the app, there may be a much easier way to clear the logs than clicking with the mouse.


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites
Wisenlucky

Hey, its some custom application which makes bets. 

 

Edited by Wisenlucky

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
Sign in to follow this  

×