Sign in to follow this  
Followers 0
Xichael

HotKeySet for Dell MediaDirect button?

2 posts in this topic

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?

Share this post


Link to post
Share on other sites



#2 ·  Posted (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 by Xichael

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0