sendinput not working without a system reboot

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
laaleehop
Posts: 1
Joined: 20 Apr 2021, 00:18

sendinput not working without a system reboot

20 Apr 2021, 00:30

hi guys,
sometimes i found that the sendinput command just not working and will not work again even if i exit the script and reopen them.
but if i restart the os(windows 10), everything goes back to normal.
does anyone know what cause this?

Code: Select all

>!p:: 
SendInput, monitor
SendInput, {Tab}
SendInput, thisispass
return
when sendinput command is not working properly, if i change all the 'sendinput' back to send event, only the second string 'thisispass' will show up
i only use this script with chrome though, the same webpage everytime
User avatar
mikeyww
Posts: 27107
Joined: 09 Sep 2014, 18:38

Re: sendinput not working without a system reboot

20 Apr 2021, 06:20

Send always sends to the active window, so you might need to activate your window and possibly even a specific control first.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Google [Bot] and 131 guests