I have an app in java and my login is
{sendkeys}myname{SLEEP 1000}{TAB}password{ENTER}
I dont understand why I need "SLEEP". Sometimes the delay is bigger and I must to increase the miliseconds because it DOESN'T WORK SOMETIMES.
In other program, like AutoHotkeys (https://autohotkey.com/) I don't need this dirty trick.
In AutoHotkeys it's a simple:
!^k::
Send, myname{tab}password{enter}
Return
and it works ALWAYS.
{sendkeys}myname{SLEEP 1000}{TAB}password{ENTER}
I dont understand why I need "SLEEP". Sometimes the delay is bigger and I must to increase the miliseconds because it DOESN'T WORK SOMETIMES.
In other program, like AutoHotkeys (https://autohotkey.com/) I don't need this dirty trick.
In AutoHotkeys it's a simple:
!^k::
Send, myname{tab}password{enter}
Return
and it works ALWAYS.








