Sign in to follow this  
Followers 0

Misc Constants

4 posts in this topic

#1 ·  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

Share this post


Link to post
Share on other sites



#2 ·  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


OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

Updated 07 November, 2013 - If you find dead links please send me a PM, do not post in the topics !

Share this post


Link to post
Share on other sites

#3 ·  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

Share this post


Link to post
Share on other sites

#4 ·  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.


OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

Updated 07 November, 2013 - If you find dead links please send me a PM, do not post in the topics !

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