Jump to content

Recommended Posts

Posted

In the attached screenshot I would like to be able to use a ControlSend to toggle the Help checkbox within the Listbox.

I can navigate to the Help checkbox using the code:

ControlSend("Domino Enterprise Server", "", 401, "{DOWN 1}")

However, nothing happens when I try to toggle it using the code:

ControlSend("Domino Enterprise Server", "", 401, "{SPACE}")

The AutoIT Info window shows there's no Checkbox control and I realise a Send("{SPACE}") would suffice, but I'd to cater for situations when the console's locked.

Can ControlSend be used in this scenario?

Assistance is appreciated.

:lmao:

Posted

Try a ControlClick()

<{POST_SNAPBACK}>

I doubt that will work :lmao:

The only advice I can give is for you to try WinSpy++ to see if you can get any more information on the control. There might be nested controls that the AutoIt info tool is not detecting. (Drag the WinSpy finder tool over the control, then click the More>> button, then click the Locate button.) If you are lucky there will be a parent or child control to which you can ControlSend space.

Good luck

Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
Posted

Thanks for the feedback.

Unfortunately, WinSpy did not find any other control information useful to this scenario. Only a Send("{SPACE}") will suffice...

:lmao:

Posted

Hi,

I've used this code in one of my installers.

WinSetState($WindowTitle,'',$WinState)
ControlSend($WindowTitle,'','SysTreeView321','{home}{down 1}{space}{down 2}{space}{down 3}{space}{down 6}{space}{down 1}{space}'); Select Install Options

Andre

What about Windows without using AutoIt ?It would be the same as driving a car without an steering Wheel!
  • 7 years later...

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...