Jump to content

Send DoubleClick to a TreeView item


Recommended Posts

Hello,

I have an application with a tree view. This app isn't written with AutoIt, but I want to control the app with AutoIt. I got the handle of the TreeView with ControlGetHandle. And with _GUICtrlTreeView_FindItem I got the handle of the item. But how can I send a doubleclick to that item? I want to "execute" the item.

Thanks in advance!

Link to comment
Share on other sites

_GUICtrlTreeView_ClickItem($hWnd, $hItem [, $sButton = "left" [, $bMove = False [, $iClicks = 1 [, $iSpeed = 0]]]])
;put 2 clicks in the clicks parameter and replace the rest with your values.

Snips & Scripts


My Snips: graphCPUTemp ~ getENVvars
My Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4

Feel free to use any of my code for your own use.                                                                                                                                                           Forum FAQ

 

Link to comment
Share on other sites

My pleasure. ;)

Snips & Scripts


My Snips: graphCPUTemp ~ getENVvars
My Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4

Feel free to use any of my code for your own use.                                                                                                                                                           Forum FAQ

 

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...