really? you sure? beacuse it works for me. 1.8a works fine, both they keyboard or the mouse can be used to "wake" the computer from muted state. I am going to post a link to my compiled version here for others to try, they can post their results as well. This was compiled with the latest AHK (1.0.42.00).
As for the code changes, you will laugh at how simple the change was. I simply used the alternate method of IdleTime check, in the AHK docs they have the 2 methods:%A_TimeIdle%
I changed the references on line 39 and 53 to %A_TimeIdle%
. I also updated the version string in the about box from the docs:
"Same as above but ignores artificial keystrokes and/or mouse clicks whenever the corresponding hook (keyboard or mouse) is installed. If neither hook is installed, this variable is equivalent to A_TimeIdle. If only one hook is present, only that one type of artificial input will be ignored. A_TimeIdlePhysical may be more useful than A_TimeIdle for determining whether the user is truly present."
I know that if the keyboard/mouse hooks are not installed, then according to the docs, %A_TimeIdle%
are supposed to be equal... so I think it may still be some kind of bug in AHK, where during execution somehow the keyboard hook is being installed (perhaps the compiler deemed it was necessary for some reason) and then the mouse hook is not installed or "real" mouse movement is being interpreted as artificial.
Anyway this is working for me, here are some links for downloads:
icon set (just the hacked AutoHotkeySC.bin file)
IdleMute 1.8a compiled binary