 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
tic
Joined: 22 Apr 2007 Posts: 1272
|
Posted: Wed Apr 09, 2008 9:05 pm Post subject: Send right click does not work to listview |
|
|
People are having different results to me, but all dont work. What happens when I attempt to right click on the listview is that my cpu uses 100% and the script momentarily crashes until I click out of the gui. I have tried adding $ to the hotkey, but that does not help. Please do not say "why are you trying to have right click send right click?" as that is unhelpful. This is a simplified problem from a much larger script. Thanks
| Code: |
Menu, TestContext, Add, TestContext
Gui, 1: Add, ListView, x10 y10 w200 h200 Grid AltSubmit gListSub, Test|ListView
Gui, 1: Show
Return
ListSub:
If (A_GuiEvent = "RightClick")
Menu, TestContext, Show
Return
TestContext:
MsgBox, hello
Return
RButton::
SendInput, {RButton}
Return |
|
|
| Back to top |
|
 |
Rhys
Joined: 17 Apr 2007 Posts: 618 Location: Florida
|
Posted: Wed Apr 09, 2008 10:00 pm Post subject: |
|
|
| Code: | RButton::
Hotkey, Rbutton, Off
SendInput, {RButton}
Hotkey, Rbutton, On
Return |
_________________
 |
|
| Back to top |
|
 |
tic
Joined: 22 Apr 2007 Posts: 1272
|
Posted: Wed Apr 09, 2008 10:53 pm Post subject: |
|
|
mine still does the same with that Rhys
and i have no idea why:
| Code: | $RButton::
Send, {RButton}
Return |
left clicks instead of right click |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|