; ==== Hold space for shift, or release for space ==== WaitSpace() { KeyWait, Space send {LShift up} Return } Space:: send {LShift down} WaitSpace() Return Space up:: send {LShift up} if instr(A_PriorKey, "Space") Send {Space} Return ; ====================================================