Jump to content

Recommended Posts

Posted
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?
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

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...