SendPlay uses the "journal playback" hook, which has been "broken" since
Vista. This is the clearest information I could find:
Quote:
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 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.
Note that this applies to all applications which use journal hooks on Vista and later, not just AutoHotkey on Windows 7.
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.