AndrewL Posted February 20, 2005 Posted February 20, 2005 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.
CyberSlug Posted February 20, 2005 Posted February 20, 2005 Try a ControlClick()<{POST_SNAPBACK}>I doubt that will work 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!
AndrewL Posted February 28, 2005 Author Posted February 28, 2005 Thanks for the feedback. Unfortunately, WinSpy did not find any other control information useful to this scenario. Only a Send("{SPACE}") will suffice...
Andre Posted February 28, 2005 Posted February 28, 2005 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!
MHz Posted February 28, 2005 Posted February 28, 2005 Or try this: ControlCommand('Domino Enterprise Server', 'Selecting this option', 401, 'Check', '')
bhargavik Posted February 13, 2013 Posted February 13, 2013 How to check the checkbox using controlsend function ?
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now