Jump to content

Recommended Posts

Posted

I am writing a launch program for a few keys for a friend of mine. But the keyboard has keyboard specific keys and I would like to find the hex values for those keys, how would I go about doing that?

[quote name='DaleHohm']You have a strange habit of posting error messages that don't match your code.[/quote][quote name='SmOke_N']Forget the learning... straight to the scripting :lol: (laugh.gif)[/quote]

Posted (edited)

Hold the key and run something like this

For $x = 100 to 1000
  If _IsPressed($x) Then
      MsgBox(0, "", Hex($x,2))
  EndIf
Next

Edit: Added Hex().

Yes, I tried somthing like that but it dosnt seem to work, just tried yours and seem to get same results.>.<

EDIT: failed to mention it dosnt show any errors just dosnt show msg box either.

Edited by Vivvic

[quote name='DaleHohm']You have a strange habit of posting error messages that don't match your code.[/quote][quote name='SmOke_N']Forget the learning... straight to the scripting :lol: (laugh.gif)[/quote]

Posted

Ok thanks, I think I got it, will reply if I need anymore help.

[quote name='DaleHohm']You have a strange habit of posting error messages that don't match your code.[/quote][quote name='SmOke_N']Forget the learning... straight to the scripting :lol: (laugh.gif)[/quote]

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...