how to toggle keyboard mapping in AutoHotKey
问题 I would like to map part of my keyboard as a number pad:(my laptop keyboard has no number pad) j->1 k->2 l->3 u->4 i->5 o->6 I would like to toggle the mapping with a short cut, let's say Control + Alt + M , my code is below, however, I don't know how to reset the mapping: mode = 0 ^!m:: if (mode = 1) { mode = 0 j->1 k->2 l->3 u->4 i->5 o->6 } else { mode = 1 u::u ;got error here: duplicate hotkey } return I got duplicate hotkey error with u::u , seems AHK does not allow mapping more than one