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 

How do I make the windows key trigger ctrl alt shift?

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





PostPosted: Thu Nov 30, 2006 7:26 pm    Post subject: How do I make the windows key trigger ctrl alt shift? Reply with quote

How do I make the windows key trigger, all at the same time, "ctrl alt shift"?

I have tried
#::Lctrl
#::Lalt
#::Lshift
------------------

#::Lctrl & Lalt & Lshift
----------------

Lwin::!^+

-------------------

None of them work successfully. Any suggestions?
Back to top
Terrapin



Joined: 15 Aug 2005
Posts: 107
Location: North Carolina

PostPosted: Thu Nov 30, 2006 9:27 pm    Post subject: Reply with quote

Code:
LWin::
Send, {LCtrl Down}{LAlt Down}{LShift Down}
return


There may well be a shorter form of this. You will need to use {LCtrl Up), etc, when you want them to be released. Also, there is no Win, you must specify LWin or RWin.

It looks as if you're trying to use hotkey modifiers {+#!^) rather than the key names, as shown on "Key List" in the manual/help file.

Good Luck
Back to top
View user's profile Send private message
POINTS



Joined: 18 Jan 2006
Posts: 284

PostPosted: Thu Nov 30, 2006 9:54 pm    Post subject: Up too Reply with quote

You'll need the up command too.

Quote:
The word UP may follow the name of a hotkey to cause the hotkey to fire upon release of the key rather than when the key is pressed down. The following example remaps LWin to become LControl:

*LWin::Send {LControl Down}
*LWin Up::Send {LControl Up}


LWin::Send, {LCtrl Down}{LAlt Down}{LShift Down}
LWin UP::Send, {LCtrl Up}{LAlt Up}{LShift Up}
_________________
My AutoHotkey Program for Warcraft III:
Warkeys
http://warkeys.sourceforge.net/

Remap your hotkeys
Healthbars always on
Remap inventory
Back to top
View user's profile Send private message Visit poster's website
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