Jump to content

Recommended Posts

Posted

I made MiscConstants.au3 because I was fiddling and saw there wasn't one in the includes directory. When I was done, I found the other one, but I'm posting this one because it is more complete.

I got the keys for _IsPressed out of the comments in Misc.au3 and http://msdn.microsoft.com/en-us/library/ms927178.aspx

All other values are from taking a look at Misc.au3

I'm also including a (very slightly) modified Misc.au3 that uses the values (named MiscMod.au3 so skeptics can try it without overwriting)

Have fun :)

MiscConstants.zip

_________[u]UDFs[/u]_________-Mouse UDF-Math UDF-Misc Constants-Uninstaller Shell

Posted

@NerdFencer

I got the keys for _IsPressed out of the comments in Misc.au3 and http://msdn.microsoft.com/en-us/library/ms927178.aspx

You dont have to go there for have this information... all keys are written in include misc over _IsPressed function :)

For your misc constants I see that you want to have to get hex key with given alpha key ?

An example here with __KeyGetType : IsPressed_UDF

Posted

You dont have to go there for have this information... all keys are written in include misc over _IsPressed function :)

Most of them are there, but there are some that aren't, that's why I used the other source.

For your misc constants I see that you want to have to get hex key with given alpha key ?

All I was really going for was to be able to say _IsPressed($VK_TAB) in a script i was writing when I couldn't use HotKeySet b/c the game prevented it from working somehow.

I'm usually working in c++, so I'm used to avoiding "magic numbers" at any cost.

An example here with __KeyGetType : IsPressed_UDF

This is a cool UDF, thanks for the link :o

_________[u]UDFs[/u]_________-Mouse UDF-Math UDF-Misc Constants-Uninstaller Shell

Posted

Most of them are there, but there are some that aren't, that's why I used the other source.

Perhaps...

All I was really going for was to be able to say _IsPressed($VK_TAB) in a script i was writing when I couldn't use HotKeySet b/c the game prevented it from working somehow.

Change _IsPressed function with variables or use Alpha like UDF I gave you

This is a cool UDF, thanks for the link :o

No problem :)

Cheers,FireFox.

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