leapingleon Posted January 22, 2007 Share Posted January 22, 2007 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 More sharing options...
leapingleon Posted January 22, 2007 Author Share Posted January 22, 2007 It might be similar to a problem i was having earlier, however this topic was about a button and is sorted now.http://www.autoitscript.com/forum/index.ph...c=39672&hl=Basically, AutoIT couldnt click a button if the mouse wasnt hovering over it (some custom designed script I think). But I got around that. Link to comment Share on other sites More sharing options...
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