Sign in to follow this  
Followers 0
dexto

Undocumented _isPressed() keys

5 posts in this topic

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

:)

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites

no question just comment :)

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