AutoHotkey Community

It is currently May 27th, 2012, 11:34 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 18 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: October 19th, 2011, 2:00 am 
Lexikos wrote:
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.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: October 19th, 2011, 2:28 am 
Offline

Joined: October 17th, 2006, 4:15 pm
Posts: 7503
Location: Australia
It's already there:
Quote:
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 19th, 2011, 2:33 am 
Oh, terribly sorry and thanks.


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ]  Go to page Previous  1, 2

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 17 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group