Could you add a note to the documentation that SendPlay may not work in Windows Vista or later? Since there is no example code for SendPlay, I spent a lot of time figuring this out why the script doesn't work. Thanks.SendPlay uses the "journal playback" hook, which has been "broken" since Vista. This is the clearest information I could find:
MSDN confirms that a process launched with UIAccess rights "Can set journal hooks", but also implies that a process running as admin should be able to. Several other sources confirm that running as admin isn't sufficient, but disabling UAC is.To set a Journal hook, the app needs to be signed, manifested for uiAccess, and run from a secure location (usually Program Files).
Source: RE: Journal Hooks in Vista
Note that this applies to all applications which use journal hooks on Vista and later, not just AutoHotkey on Windows 7.
Sendplay and Windows 7 doesn't work together
Started by
DHMH
, Oct 27 2009 01:15 PM
17 replies to this topic
#16
-
Posted 19 October 2011 - 01:00 AM
It's already there:
However, SendPlay may have no effect at all on Windows Vista or later if User Account Control is enabled, even if the script is running as an administrator.
#17
-
Posted 19 October 2011 - 01:28 AM