AutoHotkey Community

It is currently May 26th, 2012, 10:11 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 12 posts ] 
Author Message
PostPosted: October 21st, 2009, 11:34 am 
Offline

Joined: October 19th, 2009, 11:22 am
Posts: 10
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!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 21st, 2009, 3:37 pm 
Offline

Joined: June 18th, 2008, 8:36 am
Posts: 4923
Location: AHK Forum
:?:
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}")

_________________
AHK_H (2alpha) AHF TT _Struct WatchDir Yaml _Input ObjTree RapidHotkey DynaRun :wink:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 21st, 2009, 3:46 pm 
Offline

Joined: October 19th, 2009, 11:22 am
Posts: 10
Both get error :(
Error: call to nonexistent function
[/quote]


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 21st, 2009, 3:49 pm 
RapidHotkey()


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: October 21st, 2009, 5:53 pm 
Offline

Joined: October 19th, 2009, 11:22 am
Posts: 10
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 :(


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 21st, 2009, 6:06 pm 
Offline

Joined: June 18th, 2008, 8:36 am
Posts: 4923
Location: AHK Forum
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")

_________________
AHK_H (2alpha) AHF TT _Struct WatchDir Yaml _Input ObjTree RapidHotkey DynaRun :wink:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 21st, 2009, 6:12 pm 
Offline

Joined: October 19th, 2009, 11:22 am
Posts: 10
It does nothing. Maybe i did something wrong?
I added function to the script.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 21st, 2009, 6:16 pm 
Offline

Joined: June 18th, 2008, 8:36 am
Posts: 4923
Location: AHK Forum
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)

_________________
AHK_H (2alpha) AHF TT _Struct WatchDir Yaml _Input ObjTree RapidHotkey DynaRun :wink:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 21st, 2009, 6:58 pm 
Offline

Joined: October 19th, 2009, 11:22 am
Posts: 10
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 21st, 2009, 7:08 pm 
Offline

Joined: October 19th, 2009, 11:22 am
Posts: 10
And it looks like it works only after release shift.
With
+~LButton::RapidHotkey("test")
"test" appears only after i release shift.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 21st, 2009, 7:12 pm 
Offline

Joined: June 18th, 2008, 8:36 am
Posts: 4923
Location: AHK Forum
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

_________________
AHK_H (2alpha) AHF TT _Struct WatchDir Yaml _Input ObjTree RapidHotkey DynaRun :wink:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 21st, 2009, 8:20 pm 
Offline

Joined: October 19th, 2009, 11:22 am
Posts: 10
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!


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], hyper_, JSLover, oldbrother, patgenn123 and 61 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group