But I want to be able to use a keystroke along a modifier like Shift+W to execute a function, so far I could only set single keystrokes.
I'd be really glad if someone could help me!
Here's my code:
Code: Select all
F20 & Q::
ListOfKeys =
(
========== SLIDE TRANSITIONS ==========
[W] UP
[S] DOWN
[D] RIGHT
================================
)
Tooltip, %ListOfKeys%
Input, Key, L1 T15, {ESCAPE}
tooltip,
if (Key = "W") {
preset("SLIDE UP")
return,
}
if (Key = "S") {
preset("SLIDE DOWN")
return,
}
if (Key = "D") {
preset("SLIDE RIGHT")
return,
}
return,