Sign in to follow this  
Followers 0

Misc Constants

4 posts in this topic

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

Share this post


Link to post
Share on other sites



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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

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