Jump to content

Selecting an Item in the list


Recommended Posts

Hi All

I am using the following code to select an item in a list:

ControlListView("Test Window", "", "SysListView321", "Select", $results[0])
    Send("{ENTER}")

The item in the list that i want to be selected is highlighted, however when the 'Enter' is send, the first item in the list opens up. It seems even though the item I want is selected, the first item remains active and is opened when Enter is sent.

How do I get around this? I have tried to find if there is any function that moves the mouse to the selected items index, but there doesnt seem to be one.

Thanks guys

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...