Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Sendplay and Windows 7 doesn't work together


  • Please log in to reply
17 replies to this topic
  • Guests
  • Last active:
  • Joined: --

SendPlay uses the "journal playback" hook, which has been "broken" since Vista. This is the clearest information I could find:

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.

Lexikos
  • Administrators
  • 9844 posts
  • AutoHotkey Foundation
  • Last active:
  • Joined: 17 Oct 2006
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.



  • Guests
  • Last active:
  • Joined: --
Oh, terribly sorry and thanks.