jethrow
Joined: 24 May 2009 Posts: 1907 Location: Iowa, USA
|
Posted: Tue Mar 16, 2010 11:25 pm Post subject: |
|
|
I'll let you figure out the double click part, but here's an example that will get you the file name when you click on it: | Code: | ~LButton::
MouseGetPos, , , win, control
ControlGet, hwnd, hwnd, , %control%, ahk_id %win%
Acc := COM_AccessibleObjectFromWindow( hwnd )
itemNum := Acc.accSelection
fileName := Acc.accName( itemNum )
MsgBox, %fileName% |
**NOTE** - this example uses AHKL & COM_L _________________
- in case I forgot to smile
Basic Webpage Controls
COM Object Reference |
|