| View previous topic :: View next topic |
| Author |
Message |
Tinker
Joined: 19 Oct 2009 Posts: 10
|
Posted: Wed Oct 21, 2009 10:34 am Post subject: Shift+double click :: Shift+Control+double click |
|
|
Hello!
Could you please help with this remap:
Shift+double click :: Shift+Control+double click
Its little tricky: shift+single click must be without control.
Thank you! |
|
| Back to top |
|
 |
HotKeyIt
Joined: 18 Jun 2008 Posts: 1994 Location: GERMANY
|
Posted: Wed Oct 21, 2009 2:37 pm Post subject: |
|
|
 | Code: | | +~LButton::RapidHotkey("^+{Click 2}") |
Not sure if above works, if it does not, try: | Code: | | +~LButton::RapidHotkey("{Ctrl down}{Shift down}{Click 2}{Ctrl up}{Shift Up}") |
_________________ AutoHotFile - ToolTip(n,text,title,options) |
|
| Back to top |
|
 |
Tinker
Joined: 19 Oct 2009 Posts: 10
|
Posted: Wed Oct 21, 2009 2:46 pm Post subject: |
|
|
Both get error
Error: call to nonexistent function
[/quote] |
|
| Back to top |
|
 |
Guest
|
|
| Back to top |
|
 |
Tinker
Joined: 19 Oct 2009 Posts: 10
|
Posted: Wed Oct 21, 2009 4:53 pm Post subject: |
|
|
Ok, i added RapidHotkey()
But both
+~LButton::RapidHotkey("^+{Click 2}")
and
+~LButton::RapidHotkey("{Ctrl down}{Shift down}{Click 2}{Ctrl up}{Shift Up}")
not working  |
|
| Back to top |
|
 |
HotKeyIt
Joined: 18 Jun 2008 Posts: 1994 Location: GERMANY
|
Posted: Wed Oct 21, 2009 5:06 pm Post subject: |
|
|
| Tinker wrote: | Ok, i added RapidHotkey()
But both
+~LButton::RapidHotkey("^+{Click 2}")
and
+~LButton::RapidHotkey("{Ctrl down}{Shift down}{Click 2}{Ctrl up}{Shift Up}")
not working  |
Are you sure? Try: | Code: | | +~LButton::RapidHotkey("test") |
_________________ AutoHotFile - ToolTip(n,text,title,options) |
|
| Back to top |
|
 |
Tinker
Joined: 19 Oct 2009 Posts: 10
|
Posted: Wed Oct 21, 2009 5:12 pm Post subject: |
|
|
It does nothing. Maybe i did something wrong?
I added function to the script. |
|
| Back to top |
|
 |
HotKeyIt
Joined: 18 Jun 2008 Posts: 1994 Location: GERMANY
|
Posted: Wed Oct 21, 2009 5:16 pm Post subject: |
|
|
It works for me
Pressing and holding Shift, then double click LButton writes test
What does this for you? | Code: | | ~LButton::RapidHotkey("test1""test2",1) |
_________________ AutoHotFile - ToolTip(n,text,title,options) |
|
| Back to top |
|
 |
Tinker
Joined: 19 Oct 2009 Posts: 10
|
Posted: Wed Oct 21, 2009 5:58 pm Post subject: |
|
|
Ok i get RapidHotkey working, after put it in /Lib
and got test1 for single and test2 for doubleclick.
But remap doesnt work.
Let me explain, please.
The thing i need works only if send: shift+control+LMB, shift+control+LMB
If it is shift+LMB, shift+control+LMB it will not work. And i looks like no Control send. |
|
| Back to top |
|
 |
Tinker
Joined: 19 Oct 2009 Posts: 10
|
Posted: Wed Oct 21, 2009 6:08 pm Post subject: |
|
|
And it looks like it works only after release shift.
With
+~LButton::RapidHotkey("test")
"test" appears only after i release shift. |
|
| Back to top |
|
 |
HotKeyIt
Joined: 18 Jun 2008 Posts: 1994 Location: GERMANY
|
Posted: Wed Oct 21, 2009 6:12 pm Post subject: |
|
|
If following does not work, can you post a working one?
| Code: | Send {Ctrl down}{Shift down}{Click 2}{Ctrl up}{Shift Up}
;or ?
Send +^{LButton}+^{LButton} |
If you like to fire on LButton, you can do: | Code: | ~LButton::
If GetKeyState("Shift","P")
RapidHotkey("...")
Return |
_________________ AutoHotFile - ToolTip(n,text,title,options) |
|
| Back to top |
|
 |
Tinker
Joined: 19 Oct 2009 Posts: 10
|
Posted: Wed Oct 21, 2009 7:20 pm Post subject: |
|
|
Not working. Frustrated
It looks like it fires some additional shift or control dont know.
You see.. Its for remaping 3d editor (Maya plugin). It selects "edge loop" with shift+control+double left. But for selecting edge loop, you must select polygon, showing that loop derection. It selects with first shift+control click, and activates loop with second. But! It deselects with shift+click, and command not work with deselected polygon.
And with all i tryed, it deselects it. Can i hide from program, that i pressed shift instead of control+shift?
Thank you! |
|
| Back to top |
|
 |
|