Sign in to follow this  
Followers 0
autoitaddicted

_GUICtrlListView_ClickItem don't work

2 posts in this topic

ok, i have been trying to find a way to choose and click for entering a folder while trying to pick files for uploading through internet explorer.

i'm currently using ControlListView for selecting a folder and then pressing {ENTER} with ControlSend because of there isn't any working function for "Click"

Everything works fine when working with example in help folder but when i trying to work with that file upload window (SysListView32) starting to close random windows.

Example code:

_GUICtrlListView_ClickItem(1, 1, "left", False, 2)

autoit window info:

Posted Image

Is there any suggestions or solutions ?

Share this post


Link to post
Share on other sites



You didn't give much code to go on. But your line doesn't look right. Try a -1 instead of 1 (to click the immediately previous item or a variable that represents the item.

_GUICtrlListView_ClickItem(-1, 1, "left", False, 2)

#include <ByteMe.au3>

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
Sign in to follow this  
Followers 0