Xichael Posted February 22, 2008 Share Posted February 22, 2008 Over here, is a description of how to make use of the Dell MediaDirect button using AutoHotkey. I'd like to do the same thing with AutoIt, but the MediaDirect send key found using AutoHotkey's #InstallKeybdHook (SC112) doesn't seem to work in AutoIt. Why is that? Link to comment Share on other sites More sharing options...
Xichael Posted February 22, 2008 Author Share Posted February 22, 2008 (edited) So after some time in this thread, I've learned that the MediaDirect button's HotKeySet would be Chr(255), but for some unknown reason it doesn't work... FF (255's hex value) on the on the other hand, does work with an _IsPressed. Here's an example:#include <misc.au3> While 1 If _IsPressed("FF") Then YourFunc() EndIf Sleep(50) WEnd Func YourFunc() Run ("YourProgam.exe") EndFunc Edited February 26, 2008 by Xichael Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now