NerdFencer Posted December 26, 2008 Share Posted December 26, 2008 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.aspxAll other values are from taking a look at Misc.au3I'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 Link to comment Share on other sites More sharing options...
FireFox Posted December 26, 2008 Share Posted December 26, 2008 @NerdFencerI got the keys for _IsPressed out of the comments in Misc.au3 and http://msdn.microsoft.com/en-us/library/ms927178.aspxYou 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 Link to comment Share on other sites More sharing options...
NerdFencer Posted December 26, 2008 Author Share Posted December 26, 2008 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_UDFThis is a cool UDF, thanks for the link _________[u]UDFs[/u]_________-Mouse UDF-Math UDF-Misc Constants-Uninstaller Shell Link to comment Share on other sites More sharing options...
FireFox Posted December 26, 2008 Share Posted December 26, 2008 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 youThis is a cool UDF, thanks for the link No problem Cheers,FireFox. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now