I'm using AutoHotkey_L v1.1.08.01 with Windows 8 Enterprise 64-bit. This is the RTM version of Windows 8, not the Developer or Consumer Preview.
I've noticed that AutoHotkey still works for sending input to applications, but I can't get it to interact with any windows. For example, I have a little script that opens up the UAC window and is supposed to slide the slider down to Never notify:
;~ Open the UAC Window SendInput, #r WinWaitActive, Run SendInput, C`:\Windows\System32\UserAccountControlSettings.exe SendInput, {Enter} WinWaitActive, User Account Control Settings ;~ Method 1: ControlFocus, msctls_trackbar321 ControlSend, msctls_trackbar321, {Down}{Down} ControlSend, Button1, {Enter} SendInput, y ;~ Method 2: SendInput, {Tab}{Down}{Down}{Down}{Tab}{Enter}y ;~ Method 3: MouseClickDrag, Left, 148, 243, 148, 373 MouseClick, Left, 1964, 1792
This will open the UAC window, so the script is able to interact with the little Run window alright, but Methods 1, 2, and 3 do not do anything. I would expect that with Method 2 the control that has focus would change, or with Method 3 the mouse would at least move, but nope, nothing. I've tried creating an AHK script to interact with the Windows 8 Task Manager window as well, but get the same thing; AHK is not able to interact with the window at all.
Can anybody else verify that this is a problem for them? Or have any ideas/suggestions of other things to try? I'm assuming this is a "bug" with AHK and that a new release will be required to increase compatibility with Windows 8, but any suggestions are appreciated. Thanks.
-- EDIT --
So it turns out the problem was that the AHK script needs to run as admin to be able to interact with any windows requiring admin privileges (e.g. the UAC window, Control Panel, etc.). In my blog I show how to have the scripts run as admin when launched manually, and when running a script automatically at login.