according to one of the senior programmer, lexikos, in autohotkey forum, he stated that
Quote:
"To send messages to, send keystrokes to or intercept hotkeys from an application that is running with elevated (i.e. admin) priveleges, the script must also have elevated priveleges.
The UAC prompt runs in the "secure desktop" by default. You cannot send keystrokes or messages to it (even from a script with elevated priveleges.)"
|
or Skan (more well-known programmer in ahk)
Quote:
UAC will not respond to artificial input, I guess.
|
clearly stated that even admin mode has some trouble with certain priveleges, like UAC commands
well, usually my bots base on controlclick functions, which can work in minimize or background mode. in vista, it doesnt work
btw, it is also known that autohotkey is not fully functional in window 2000 or 9x or NT
due to the different structure of command sending. for example some of the functions will stat that "Has no effect except on Windows 2000 or later." or for winget function, it stats that "is not supported by Windows 2000".
since the topic is about vista, i am not going to details about other non-common windows
anyways, all ahk codes are 100% functional in winXP though since thats the main platform. vista, not sure, with admin mode 90% of the codes should work, depends on which function u decide to use. (even send a mouse click have at least 8+ different functions that i know of)