Jump to content

Undocumented _isPressed() keys


Recommended Posts

Just noticed that some of the multimedia keyboard keys are not documented for _isPressed()

A6 Browser Back

A7 Browser Forward

A9 Browser Stop

A8 Browser Reload

AC Browser Homepage

AD Sound Mute

B0 Player Next

B1 Player Previous

B2 Player Stop

B3 Player Start/Pause

B4 Mail Client

B5 Player Open

B6 My Computer

B7 Calculator

:)

Link to comment
Share on other sites

Just noticed that some of the multimedia keyboard keys are not documented for _isPressed()

A6 Browser Back

A7 Browser Forward

A9 Browser Stop

A8 Browser Reload

AC Browser Homepage

AD Sound Mute

B0 Player Next

B1 Player Previous

B2 Player Stop

B3 Player Start/Pause

B4 Mail Client

B5 Player Open

B6 My Computer

B7 Calculator

:)

Any of this list.
Link to comment
Share on other sites

I bet its there :)

Didn't know about that page so:

#include <Misc.au3>
$dll = DllOpen('user32.dll')

While True
    For $x = 0 To 255
        If _IsPressed(Hex($x, 2), $dll) Then
            ConsoleWrite(Hex($x, 2))
            While _IsPressed(Hex($x, 2), $dll)
                Sleep(1)
            WEnd
        EndIf
    Next
    Sleep(1)
WEnd

Func OnAutoItExit()
    DllClose($dll)
    Exit
EndFunc  ;==>OnAutoItExit
Edited by dexto
Link to comment
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
 Share

  • Recently Browsing   0 members

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