Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AutoHotKey key SEQUENCE, not just single-key hotkey

I'm not stupid... really. How do you map a key SEQUENCE (ie: Ctrl + Q , F) in AutoHotKey.

I've got Ctrl + Q down:

^q:: 

I've even got F:

f:: 

The examples in the help files even show how to do two keystrokes in a row:

Numpad0 & Numpad1:: 

But it just will not work with:

^q & f :: 

Or any of these either:

LCtrl & q & f:: ^q & ^f:: ^q^f:: ^qf:: 

How do I accomplish a Key SEQUENCE triggering something, when one of those keys is the Ctrl key? I looked into using a HOTSTRING instead, but couldn't work out how to include the Ctrl character, in that context!

like image 698
Joshua Avatar asked Jan 19 '10 19:01

Joshua


People also ask

How do I change hotkeys?

Connect the keyboard that you want to configure. Select the Start button, and then select Microsoft Mouse and Keyboard Center. From the displayed list of key names, select the key that you want to reassign. In the command list of the key that you want to reassign, select a command.

What is key sequence keyboard?

A key sequence string is a comma-delimited set of key identifiers which are used to simulate the key press and release sequence of a standard U.S. 101-key AT-style keyboard.


1 Answers

Alright; The answer seems to be:

^q:: Input Key, L1 if Key=f ...some code here... return 
like image 149
Joshua Avatar answered Sep 18 '22 17:09

Joshua