Jump to content
Sign in to follow this  
piyanut

How to use ControlClick in button ToolStrip1?

Recommended Posts

How to use ControlClick in button ToolStrip1?

 

Untitled.png

 

ControlClick("[CLASS:WindowsForms10.window.8.app.0.378734a]", "", "ToolStrip1", "left", 1, 174)

 

??

 

that not work

Edited by piyanut

Share this post


Link to post
Share on other sites

Thanks, JLogan3o13

i would like to use function ControlClick in in button ToolStrip1  but when i using  this code

ControlClick("[CLASS:WindowsForms10.window.8.app.0.378734a]", "", "ToolStrip1", "left", 1, 174)

nothing happen how to ?

This is info

Untitled.png

How to use function to click

 

Load User?

 

Share this post


Link to post
Share on other sites

WindowsForms10.window.8.app is not a Winwows-Standardcontrol !

Please search the forum for "ControlClick WindowsForms" and you will find a few threads on this subject.

change Name to Advanced Mode  ;)

Test this

$hWnd = "Camfrog Pro"
If WinExists($hWnd) Then WinActivate($hWnd)
WinWaitActive($hWnd)
ControlClick($hWnd, "", "[NAME:toolStrip1]","Left",1)

 

Share this post


Link to post
Share on other sites

WindowsForms10.window.8.app is not a Winwows-Standardcontrol !

Please search the forum for "ControlClick WindowsForms" and you will find a few threads on this subject.

change Name to Advanced Mode  ;)

Test this

$hWnd = "Camfrog Pro"
If WinExists($hWnd) Then WinActivate($hWnd)
WinWaitActive($hWnd)
ControlClick($hWnd, "", "[NAME:toolStrip1]","Left",1)

Thanks it work

 

i have new question how to detect messagebox and do something?

 

Untitled.png

 

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  

×
×
  • Create New...