Jump to content

Recommended Posts

Using control click (as shown below)

ControlClick ( "title", "text", "classnameNN" [, button] [, clicks]] )

I want to send a click to a control with the following credentials as shown in the window spy:

>>>>>(LAST CONTROL UNDER MOUSE)<<<<<<<<<<<<<<<<

Class: WindowsForms10.BUTTON.app34 Text: Button5

So i use the following:

Control Click("windowname","windowtext","WindowsForms10.BUTTON.app34")

this function returns 1 (success) but the button doesnt seem to be clicked.

Even if i use "Button5" in the classname , it still does the same thing???

Any ideas?

Link to post
Share on other sites

The name of the control leads me to believe that it is not a native windows control. The Control* functions (ControlClick, ControlSend, etc) only work with generic windows controls. If a program defines its own controls, then you cannot use the Control* commands to manipulate it.

[font="Optima"]"Standing in the rain, twisted and insane, we are holding onto nothing.Feeling every breath, holding no regrets, we're still looking out for something."[/font]Note: my projects are off-line until I can spend more time to make them compatable with syntax changes.

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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...