Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Can you assign a four-key combination as a hotkey?


  • Please log in to reply
7 replies to this topic
urdoox
  • Members
  • 16 posts
  • Last active: Mar 23 2013 05:36 PM
  • Joined: 09 Dec 2012

Also, is using & more than once disallowed in hotkeys, like so: RAlt & RShift & a



uname
  • Members
  • 194 posts
  • Last active: Oct 17 2015 08:46 AM
  • Joined: 13 Jun 2012
>^>!a::MsgBox RCtrl+RAlt+a

#if GetKeyState("a", "p")
    <^<!<b::MsgBox LCtrl+LAlt+a+b


urdoox
  • Members
  • 16 posts
  • Last active: Mar 23 2013 05:36 PM
  • Joined: 09 Dec 2012

Could you please explain?



floodindahood
  • Members
  • 383 posts
  • Last active: Apr 20 2018 01:45 PM
  • Joined: 21 Oct 2011
>^>!a::MsgBox RCtrl+RAlt+a

;; > or < indicates here whether its right or left and the ^ stands for ctrl, ! for alt 
;; and so forth. As you can find at http://www.autohotke...mmands/Send.htm

#if GetKeyState("a", "p")

;; if 'a' is pressed then it makes the following hotkey true. If a isn't pressed then it;; cant be triggered.

    <^<!<b:: MsgBox LCtrl+LAlt+a+b

 

 

Color coding didn't work for some reason.



jNizM
  • Members
  • 928 posts
  • Last active: Jan 12 2018 09:23 AM
  • Joined: 01 Aug 2012
test test test
[ color=#ff8c00 ]test[ /color ] (without space)

 
>^>!a::MsgBox RCtrl+RAlt+a
[ code ]MsgBox, test[ /code ]

 
 [ code ] with [color=#33B5E5] colorcode [/color] dont work 
[ code ] code with [ color=#33B5E5] colorcode [ /color ] dont work [ /code ]


[ c ] with colorcode work with one-line
[ c ] c with [ color=#33B5E5 ] colorcode [ /color ] work with one-line [ /c ]


[ c ] with colorcode
with more than one line

[ c ] c with [ color=#ff8c00 ] colorcode [ /color ]
with more than one line [ /c ]
[AHK] 1.1.27.04 x64 Unicode | [WIN] 10 Pro (Version 1709)
My GitHub Profile | Donations are appreciated if I could help you

floodindahood
  • Members
  • 383 posts
  • Last active: Apr 20 2018 01:45 PM
  • Joined: 21 Oct 2011

test test test
[ color=#ff8c00 ]test[ /color ] (without space)

 

MsgBox, test
[ code ]MsgBox, test[ /code ]

 
 with [color=#33B5E5] colorcode [/color] dont work 
[ code ] with [ color=#33B5E5] colorcode [ /color ] dont work [ /code ]


with colorcode work with one-line
[ c ] with [ color=#33B5E5] colorcode [ /color ] work with one-line [ /c ]


colorcode
with more than one line

[ c ] [ color=#ff8c00 ] colorcode [ /color ]
with more than one line [ /c ]

It's ok, wasn't that much of an issue..



dmg
  • Members
  • 2395 posts
  • Last active: Nov 04 2015 06:46 AM
  • Joined: 19 Nov 2010

No, you can only use the & once in a hotkey. The only way I know of you use a larger group of keys is to creatively use KeyWait. I am sorry, I do not have any examples.


"My dear Mr Gyrth, I am never more serious than when I am joking."
~Albert Campion

-----------------------------------------------------------------------------------------------
Website | Demo scripts | Blog | External contact

HotKeyIt
  • Moderators
  • 7439 posts
  • Last active: Jun 22 2016 09:14 PM
  • Joined: 18 Jun 2008

SuperHotkey can do that smile.png