Okay, you now used a hotkey instead of a hotstring. Since the hotstring's backspacing seemingly didn't work correctly on the login screen, this seems like a good idea. I still don't understand how the other apparent problems have been solved this way.
But wait... there is another change. You are now using
Sendevent mode (likely unintentionally) - the default sendmode in AHK v1 - because this line
doesn't actually set the
sendmode to
Input, but sends the literal string
Mode input (only once at script start, but you might want to remove that line, so that these characters don't show up at random places). You have a space too much in there:
Sendmode Input would actually set the
sendmode to
input. So using the default
event mode probably was the solution in this particular case.
You could have used 'event' mode also with a hotstring (
SE option, because hotstrings use Sendinput mode by default, afaik), but it might not have solved the backspacing problem.
Thanks for the feedback!
Alternatively, if you want to keep
Input as the main
sendmode, you could do this:
Code: Select all
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.~~`
SendMode input ; fixed, by removing a space between send and mode; now the default sendmode is 'Input' and not 'event' anymore
~::
SendEvent, {RAW}F4U5$4qIVVJ7S4uj&`%F5QM6gS3yY4* ; only use sendevent mode for this single line
return
PS: Please remember to
use code tags, so that we can avoid the extra work of editing each of your posts. Or is there a question ?