I'm trying to input my keyboard strokes as I type to multiple windows. My goal is to enter my same password on all. My password has lower/uppercase numbers/symbols.
So far I've found this somewhat working code:
Code: Select all
!+p::
SetTitleMatchMode, 2
WinGet, Hwnd_List, List , wow
SetKeyDelay, ,10 ; I added this line myself hoping it would solve the capitalization issue
Loop, Parse, % "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890!@#$%^&*()/" ; the original code here only had the lower case alphabet
Hotkey, %A_LoopField%, LoopSend
return
LoopSend:
Loop, %Hwnd_List%
{
Hwnd := Hwnd_List%A_Index%
ControlSend,, %A_ThisHotkey%, ahk_id %Hwnd%
}
return
1. When I hold Shift to capitalize it only affects the active window.
2. At random it will not maintain case sensitivity, Shift held or not. (ex. abCDEfGhIJ..)
3. Symbols !, ^, and / don't seem to work. I have tried putting them in brackets. {}
If you can, please help me. I would appreciate it so much.