One handed keyboard

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
ikcosyw
Posts: 5
Joined: 25 Apr 2018, 20:23
Contact:

One handed keyboard

25 Apr 2018, 21:00

I want to be able to type with my left hand on the right side of the key board, and my thumb controlling all the modifier keys.

I would like to use the AppsKey as a modifier when held with any key to give me the keys on the left side of the keyboard and a space when pressed by itself. Also, I want to disable AppsKey from acting like AppsKey.

i.e.
::AppsKey::Space
::AppsKey+j::a
::AppsKey+j+shift::A
gregster
Posts: 9000
Joined: 30 Sep 2013, 06:48

Re: One handed keyboard

25 Apr 2018, 21:06

Welcome to the forum!
Please look at the tutorial to learn the basics. It seems you are confusing hotkeys (you want these) and hotstrings (you used their syntax).
Try:

Code: Select all

Appskey::Space	; Appskey alone sends Space - normal function is disabled	
AppsKey & j::a	; for a and A: press additional Shift to get A
ikcosyw
Posts: 5
Joined: 25 Apr 2018, 20:23
Contact:

Re: One handed keyboard

25 Apr 2018, 22:19

;I figured it out, based on a capslock script...

#singleinstance force
;Autohotkey Script AppsKey_Space.akh
F12::reload

AppsKey::
KeyWait, AppsKey ; wait for AppsKey to be released

If (A_PriorKey="AppsKey")
Send, {Space}

*AppsKey:: return ; This forces AppsKey into a modifying key.

#If, GetKeyState("AppsKey", "P") ;Your AppsKey hotkeys go below
;For my left hand I use jiop as my home row with my keyboard tilted. jiop=asdf
j::a
i::s
o::d
p::f
[::g
]::h
u::q
8::w
9::e
0::r
-::t
=::y
m::z
k::x
l::c
`;::v
'::b
#If
;end AppsKey_Space.akh
User avatar
evilC
Posts: 4823
Joined: 27 Feb 2014, 12:30

Re: One handed keyboard

26 Apr 2018, 04:23

I dunno what the point of all that extra code is, what you want is very simple to do.

Code: Select all

hotkeys_on := 0

*AppsKey:: hotkeys_on := 1
*AppsKey up:: hotkeys_on := 0

#if hotkeys_on
j::a
i::s
o::d
p::f
[::g
]::h
u::q
8::w
9::e
0::r
-::t
=::y
m::z
k::x
l::c
`;::v
'::b
#if

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Lamron750 and 358 guests