Jump to content

_IsPressed() Constants!


AlmarM
 Share

Recommended Posts

Hey,

I saw the MsgBox Constants and I tought this would be usefull aswell :)!

#cs
_IsPressed() Constants!
Inspirated by "MsgBox Constants"
By AlmarM
#ce

Global Const $LeftMouseButton = 01
Global Const $RightMouseButton = 02
Global Const $MiddleMouseButton = 04
Global Const $Windows2000_XP_X1_Button = 05
Global Const $Windows2000_XP_X2_Button = 06
Global Const $Backspace = 08
Global Const $Tab = 09
Global Const $Clear = "0C"
Global Const $Enter = "0D"
Global Const $Shift = 10
Global Const $Ctrl = 11
Global Const $Alt = 12
Global Const $Pause = 13
Global Const $CapsLock = 14
Global Const $Esc = "1B"
Global Const $Spacebar = 20
Global Const $PageUp = 21
Global Const $PageDown = 22
Global Const $End = 23
Global Const $Home = 24
Global Const $LeftArrow = 25
Global Const $UpArrow = 26
Global Const $RightArrow = 27
Global Const $DownArrow = 28
Global Const $Select = 29
Global Const $Print = "2A"
Global Const $Execute = "2B"
Global Const $PrintScreen = "2C"
Global Const $Insert = "2D"
Global Const $Delete = "2E"
Global Const $0 = 30
Global Const $1 = 31
Global Const $2 = 32
Global Const $3 = 33
Global Const $4 = 34
Global Const $5 = 35
Global Const $6 = 36
Global Const $7 = 37
Global Const $8 = 38
Global Const $9 = 39
Global Const $a = 41
Global Const $b = 42
Global Const $c = 43
Global Const $d = 44
Global Const $e = 45
Global Const $f = 46
Global Const $g = 47
Global Const $h = 48
Global Const $i = 49
Global Const $j = "4A"
Global Const $k = "4B"
Global Const $l = "4C"
Global Const $m = "4D"
Global Const $n = "4E"
Global Const $o = "4F"
Global Const $p = 50
Global Const $q = 51
Global Const $r = 52
Global Const $s = 53
Global Const $t = 54
Global Const $u = 55
Global Const $v = 56
Global Const $w = 57
Global Const $x = 58
Global Const $y = 59
Global Const $z = "5A"
Global Const $LeftWindowsKey = "5B"
Global Const $RightWindowsKey = "5C"
Global Const $Numpad0 = 60
Global Const $Numpad1 = 51
Global Const $Numpad2 = 62
Global Const $Numpad3 = 63
Global Const $Numpad4 = 64
Global Const $Numpad5 = 65
Global Const $Numpad6 = 66
Global Const $Numpad7 = 67
Global Const $Numpad8 = 68
Global Const $Numpad9 = 69
Global Const $Multiply = "6A"
Global Const $Add = "6B"
Global Const $Separator = "6C"
Global Const $Subtract = "6D"
Global Const $Decimal = "6E"
Global Const $Devine = "6F"
Global Const $F1 = 70
Global Const $F2 = 71
Global Const $F3 = 72
Global Const $F4 = 73
Global Const $F5 = 74
Global Const $F6 = 75
Global Const $F7 = 76
Global Const $F8 = 77
Global Const $F9 = 78
Global Const $F10 = 79
Global Const $F11 = "7A"
Global Const $F12 = "7B"
Global Const $F13 = "7C"
Global Const $F14 = "7D"
Global Const $F15 = "7E"
Global Const $F16 = "7F"
Global Const $F17 = "80H"
Global Const $F18 = "81H"
Global Const $F19 = "82H"
Global Const $F20 = "83H"
Global Const $F21 = "84H"
Global Const $F22 = "85H"
Global Const $F23 = "86H"
Global Const $F24 = "87H"
Global Const $Numlock = 90
Global Const $Scrolllock =  91
Global Const $LeftShift = "A0"
Global Const $RightShift = "A1"
Global Const $LeftCtrl = "A2"
Global Const $RightCtrl = "A3"
Global Const $LeftMenu = "A4"
Global Const $RightMenu = "A5"

Have fun!

-AlmarM-

Edited by AlmarM

Minesweeper

A minesweeper game created in autoit, source available.

_Mouse_UDF

An UDF for registering functions to mouse events, made in pure autoit.

2D Hitbox Editor

A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.

Link to comment
Share on other sites

look in my signature for: _MiscConstants.au3

Almost the same, maybe a bit better though :)

Oh :)

I didnt knew that!

Im sorry. U dont mind that I used it?

I realy didnt knew it :S

-AlmarM-

P.S. Ill edit my sig :)

Minesweeper

A minesweeper game created in autoit, source available.

_Mouse_UDF

An UDF for registering functions to mouse events, made in pure autoit.

2D Hitbox Editor

A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...