Toggle keys with one shortcut
Toggle keys with one shortcut
I have a program where I routinely use F1, F2, F3, F4 and F5. I would like to have a single keyboard shortcut that toggles between these. Then I can map that new keyboard shortcut to my mouse and use a single mouse button to toggle between these “F” keys. Is that possible? And if so, how would I begin?
Re: Toggle keys with one shortcut
Code: Select all
F6::Send % "{F" (n ? Mod(n++, 5) + 1 : n := 1) "}"
Re: Toggle keys with one shortcut
Hallo,
or without ternary:
or without ternary:
Code: Select all
F6::Send,% "{F" (++n := Mod(0 n, 5)) "}"
Who is online
Users browsing this forum: No registered users and 349 guests