Jump to content
Pritam_C

Reading of list to a array in autoit

Recommended Posts

Pritam_C

How can I read values of the list to a array in autoit

For e.g: In the attached image I have selected the list of buttons  i.e. Quick Test, Extended Test etc. and in the info section the whole block is selected as one list.

I want to click on extended test element but since the whole block is in list I am unable to select the individual element.

Let me know how can this be achieved.

Capture.PNG

Share this post


Link to post
Share on other sites
JLogan3o13

Moved to the appropriate forum


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

Share this post


Link to post
Share on other sites
benners

You could move the mouse to the required option, relative the the client window

#include <AutoItConstants.au3>

Opt('MouseCoordMode', 2)

WinActivate('DLGDIAG - Select An Option', 'Model Number')

MouseMove(100, 135) ; quick test
MouseClick($MOUSE_CLICK_PRIMARY)
Sleep(2000)
MouseMove(100, 165) ; extended test
MouseClick($MOUSE_CLICK_PRIMARY)
Sleep(2000)
MouseMove(100, 195) ; erase
MouseClick($MOUSE_CLICK_PRIMARY)
Sleep(2000)
MouseMove(100, 225) ; view test results
MouseClick($MOUSE_CLICK_PRIMARY)

 

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

×