Code: Select all
a::
Input, SingleKey, L1
Send %SingleKey%
Code: Select all
a::
b::
c:: ;and so forth, all alphanumerics
ControlFocus, somecontrol
Send %SingleKey%
Code: Select all
a::
Input, SingleKey, L1
Send %SingleKey%
Code: Select all
a::
b::
c:: ;and so forth, all alphanumerics
ControlFocus, somecontrol
Send %SingleKey%
Code: Select all
$a::
$b::
$c:: ;and so forth, all alphanumerics
SingleKey := SubStr(A_ThisHotkey, 2)
ControlFocus, somecontrol
Send %SingleKey%
Return
Code: Select all
Gui, +AlwaysOnTop
Gui, Font, s10
Gui, Add, Edit, w300
Gui, Show, NoActivate, Controls
Loop, 75
If ((char := Chr(A_Index + 47)) ~= "[0-9a-z]")
Hotkey, %char%, Paste, On
Return
Paste:
Control, EditPaste,%A_ThisHotkey%, Edit1, ahk_class AutoHotkeyGUI
SoundBeep, 1500
Return
Code: Select all
loop, % 43
Hotkey, % Chr(A_Index+47), focus
return
focus:
if !GetKeyState("CapsLock", "T")
StringLower, key, A_ThisHotkey
else
key := A_ThisHotkey
ControlFocus, somecontrol
Send % key
; or
ControlSend, somecontrol, % key, WinTitle
return
Code: Select all
#IfWinActive ahk_class BaseWindow_RootWnd
Loop, 75
If ((char := Chr(A_Index + 47)) ~= "[0-9a-z]")
Hotkey, %char%, Paste, On
Return
Paste:
Control, EditPaste,%A_ThisHotkey%, SysListView321, ahk_class BaseWindow_RootWnd
Return