Order of keys

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
akirofe
Posts: 158
Joined: 05 Apr 2021, 21:54

Order of keys

Post by akirofe » 29 Nov 2022, 07:17

Hi guys,

I know the order of the keys is irrelevant (pls see codes attached), but, boy, how I wish... :D

So, is there really no solutions...? ie. I want f & e::Delete but e & f:: send ef (as in what we actually do when we type fast).

Thank you guys!!!!!

Code: Select all

f::f
f & q::Escape
f & w::`
f & e::Delete
;f & r::send fr
;f & t::send ft
f & a::send fa
f & s::Enter
f & d::Backspace
;f & g::send fg
f & z::Tab
f & x::^F4
f & c::MButton
;f & v::send fv
;f & b::send fb
f & y::send fy
f & u::send fu
f & i::send fi
f & o::send fo
f & p::send fp
f & h::send fh
f & j::send fj
f & k::send fk
f & l::send fl
f & n::send fn
f & m::send fm
f & Space::send {f }
*** Thank you for reading. I am not in coding and know almost nothing about professional coding, hope for your patience and deeply appreciate any of your kind helps. My current interest in this awesome AHK is due to that my work is graphical ((architect/CAD) and, to reduce strains, my right hand is better off not leaving the mouse (an MMO mouse that has 12 side keys which I maps a lot of F keys and other keys in) as much as possible. All the best you lovely coders! ***

User avatar
mikeyww
Posts: 27096
Joined: 09 Sep 2014, 18:38

Re: Order of keys

Post by mikeyww » 29 Nov 2022, 08:04

Code: Select all

f::f
f & e::Send {Del}
Explained: Custom combinations
The prefix key loses its native function. To avoid this, a script may configure [a prefix key] to perform a new action.

akirofe
Posts: 158
Joined: 05 Apr 2021, 21:54

Re: Order of keys

Post by akirofe » 29 Nov 2022, 08:22

mikeyww wrote:
29 Nov 2022, 08:04

Code: Select all

f::f
f & e::Send {Del}
Explained: Custom combinations
The prefix key loses its native function. To avoid this, a script may configure [a prefix key] to perform a new action.
So sorry Mikeyww, I did tried to read your answer and your link but couldn't understand much... Is your answer "No, there isn't any solutions." ? Thank you Mikeyww.
*** Thank you for reading. I am not in coding and know almost nothing about professional coding, hope for your patience and deeply appreciate any of your kind helps. My current interest in this awesome AHK is due to that my work is graphical ((architect/CAD) and, to reduce strains, my right hand is better off not leaving the mouse (an MMO mouse that has 12 side keys which I maps a lot of F keys and other keys in) as much as possible. All the best you lovely coders! ***

User avatar
mikeyww
Posts: 27096
Joined: 09 Sep 2014, 18:38

Re: Order of keys

Post by mikeyww » 29 Nov 2022, 09:16

My script shows one solution. Of course, you could run it?

Post Reply

Return to “Ask for Help (v1)”