I just started with AHK. I wrote a script with 4 hot keys and compiled it.
The problem: sometimes the hot keys work and sometime they do nothing.
That kind of reliability renders them of little value. Sometimes two will
work and two won't. I never know when I press the hot key if anything will
come out. And sometimes everything will come out except the enter at the
end--and other times the enter will come out. Very mysterious why this
should be so.
Thanks for listenin'.
Here is my script:
Code: Select all
#SingleInstance ignore
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
#Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
^t:: ; ^=CTRL
Send, tedL1234
Send, {Tab}
Send, Ted324med
Send, {Return}
return
^j:: ; ^=CTRL
Send, janetL2345
Send, {Tab}
Send, Kwat623jan
Send, {ENTER}
return
^+r:: ; CTRL+SHIFT+r + means SHIFT
Send, tedL1234
Send, {Tab}
Send, Ted324opt
Send, {Enter}
return
^+x:: ; CTRL+SHIFT+x + means SHIFT
Send, janetL
Send, {Tab}
Send, Kwat623jan
Send, {Enter}
return