I have experienced this same problem just recently. It worked before without any issues. It looked like AutoHotkey v1.1.33.10 does not run properly with probably recent Windows updates in 2022. It will not recognize the Ctrl, Shift, Alt, Win keys once it stopped working for no known reasons. A restart of the script only works for a while.Avastgard wrote: ↑01 Mar 2022, 10:03However, I am facing a problem that every now and then the script will simply stop working and I have to reload it to get it working again. I get no error message and the script shows running in the system tray normally - it will simply stop snipping the screen for no apparent reason.
This does not resolve the issue.rommmcek wrote: ↑03 Mar 2022, 00:56That would trigger Duplicate hotkey error. Of course you could use:instead, but I'm not sure how it would behave, since I didn't study the code entirely. It was just the idea to see if it would help you.Code: Select all
#Lbutton:: SCW_SetUp() SCW_ScreenClip2Win(clip:=1,email:=0,OCR:=0) ; Win+left click mouse=auto copy to clipboard Return
Once it stopped working, no hotkeys defined in the script will work, so this also failed to wake it up:
Code: Select all
^F12:: SCW_SetUp()
The issue: why hotkeys (#^Lbutton::, #!Lbutton::, or #Lbutton::), which trigger the SCW_ScreenClip2Win(), became invalid after a while !!!!