sfresher Posted September 30, 2008 Posted September 30, 2008 I am using the build-in ControlTreeView function to select the desired item. But how do we send a right click command to it then?
rasim Posted September 30, 2008 Posted September 30, 2008 sfresherSee in the help file a _GUICtrlTreeView_ClickItem() func.
sfresher Posted September 30, 2008 Author Posted September 30, 2008 Instead of using the UDF _GUICtrlTreeView, I used built-in ControlTreeView, which appears easier to handle in my case. But it seems like MouseClick or Select doesn't work. For $i = 1 To $nMax $sItem = ControlTreeView ("Title", "", "WindowsForms10.SysTreeView32.app.0.378734a2", "GetText", "#0|#0|#" & $i - 1) If StringLen ($sItem) = 5 Then ControlTreeView ("Title", "", "WindowsForms10.SysTreeView32.app.0.378734a2", "Select", "#0|#0|#" & $i - 1) MouseClick ("right") EndIf Next sfresher See in the help file a _GUICtrlTreeView_ClickItem() func.
LarryDalooza Posted October 1, 2008 Posted October 1, 2008 Can you ControlFocusthe control and Send {APPSKEY} ? AutoIt has helped make me wealthy
sfresher Posted October 1, 2008 Author Posted October 1, 2008 Cool, it works well!Just curious, so the {APPSKEY} means right click key?Can you ControlFocusthe control and Send {APPSKEY} ?
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