AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Shift+double click :: Shift+Control+double click

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Tinker



Joined: 19 Oct 2009
Posts: 10

PostPosted: Wed Oct 21, 2009 10:34 am    Post subject: Shift+double click :: Shift+Control+double click Reply with quote

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
View user's profile Send private message
HotKeyIt



Joined: 18 Jun 2008
Posts: 1994
Location: GERMANY

PostPosted: Wed Oct 21, 2009 2:37 pm    Post subject: Reply with quote

Question
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) Wink
Back to top
View user's profile Send private message
Tinker



Joined: 19 Oct 2009
Posts: 10

PostPosted: Wed Oct 21, 2009 2:46 pm    Post subject: Reply with quote

Both get error Sad
Error: call to nonexistent function
[/quote]
Back to top
View user's profile Send private message
Guest






PostPosted: Wed Oct 21, 2009 2:49 pm    Post subject: Reply with quote

RapidHotkey()
Back to top
Tinker



Joined: 19 Oct 2009
Posts: 10

PostPosted: Wed Oct 21, 2009 4:53 pm    Post subject: Reply with quote

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 Sad
Back to top
View user's profile Send private message
HotKeyIt



Joined: 18 Jun 2008
Posts: 1994
Location: GERMANY

PostPosted: Wed Oct 21, 2009 5:06 pm    Post subject: Reply with quote

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 Sad

Are you sure? Try:
Code:
+~LButton::RapidHotkey("test")

_________________
AutoHotFile - ToolTip(n,text,title,options) Wink
Back to top
View user's profile Send private message
Tinker



Joined: 19 Oct 2009
Posts: 10

PostPosted: Wed Oct 21, 2009 5:12 pm    Post subject: Reply with quote

It does nothing. Maybe i did something wrong?
I added function to the script.
Back to top
View user's profile Send private message
HotKeyIt



Joined: 18 Jun 2008
Posts: 1994
Location: GERMANY

PostPosted: Wed Oct 21, 2009 5:16 pm    Post subject: Reply with quote

It works for me Confused
Pressing and holding Shift, then double click LButton writes test Confused
What does this for you?
Code:
~LButton::RapidHotkey("test1""test2",1)

_________________
AutoHotFile - ToolTip(n,text,title,options) Wink
Back to top
View user's profile Send private message
Tinker



Joined: 19 Oct 2009
Posts: 10

PostPosted: Wed Oct 21, 2009 5:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
Tinker



Joined: 19 Oct 2009
Posts: 10

PostPosted: Wed Oct 21, 2009 6:08 pm    Post subject: Reply with quote

And it looks like it works only after release shift.
With
+~LButton::RapidHotkey("test")
"test" appears only after i release shift.
Back to top
View user's profile Send private message
HotKeyIt



Joined: 18 Jun 2008
Posts: 1994
Location: GERMANY

PostPosted: Wed Oct 21, 2009 6:12 pm    Post subject: Reply with quote

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) Wink
Back to top
View user's profile Send private message
Tinker



Joined: 19 Oct 2009
Posts: 10

PostPosted: Wed Oct 21, 2009 7:20 pm    Post subject: Reply with quote

Not working. Frustrated Sad

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group