 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
ups2000ups I post too much
Reputation: 0
Joined: 31 Jul 2006 Posts: 2471
|
Posted: Wed Dec 12, 2007 7:12 pm Post subject: WM VK Keys ? |
|
|
is there any WM keys for "return/Escape/Right Arrow" ?
i making something with PostMessageX but it dosent bypass VK keys so it is a bit compilade to get it working ....
like you see i trying to make auto cc ...
| Code: |
PostMessageX( hWnd,VK_ESCAPE,0,0);
Sleep(500);
PostMessageX( hWnd,VK_RETURN,0,0);
Sleep(500);
PostMessageX( hWnd,VK_RIGHT,0,0);
Sleep(100);
PostMessageX( hWnd,VK_RETURN,0,0);
|
_________________
dont complain about my english...
1*1 = 2? |
|
| Back to top |
|
 |
HomerSexual Grandmaster Cheater Supreme
Reputation: 5
Joined: 03 Feb 2007 Posts: 1657
|
Posted: Wed Dec 12, 2007 7:54 pm Post subject: |
|
|
Your wParam and lParam are incorrect.
It will work in edit box but not the main window
_________________
|
|
| Back to top |
|
 |
cicak Expert Cheater
Reputation: 0
Joined: 02 Apr 2007 Posts: 159 Location: Cheat Engine
|
Posted: Wed Dec 12, 2007 9:01 pm Post subject: |
|
|
I think u need to do something like KeyDown and then KeyUp.
But i dont know how >.<
I need code for it too.
_________________
|
|
| Back to top |
|
 |
HomerSexual Grandmaster Cheater Supreme
Reputation: 5
Joined: 03 Feb 2007 Posts: 1657
|
Posted: Wed Dec 12, 2007 9:12 pm Post subject: |
|
|
i just made one in c++ and only needed WM_KEYDOWN if i used both it sends 2 commands
_________________
|
|
| Back to top |
|
 |
jongwee Moderator
Reputation: 0
Joined: 28 Jun 2006 Posts: 1388 Location: Singapore
|
Posted: Wed Dec 12, 2007 9:29 pm Post subject: |
|
|
| Code: | VK_LBUTTON = $1,
VK_RBUTTON = $2,
VK_CANCEL = $3,
VK_MBUTTON = $4,
VK_BACK = $8,
VK_TAB = $9,
VK_CLEAR = $C,
VK_RETURN = $D,
VK_SHIFT = $10,
VK_CONTROL = $11,
VK_MENU = $12,
VK_PAUSE = $13,
VK_CAPITAL = $14,
VK_ESCAPE = $1B,
VK_SPACE = $20,
VK_PRIOR = $21,
VK_NEXT = $22,
VK_END = $23,
VK_HOME = $24,
VK_LEFT = $25,
VK_UP = $26,
VK_RIGHT = $27,
VK_DOWN = $28,
VK_SELECT = $29,
VK_PRINT = $2A,
VK_EXECUTE = $2B,
VK_SNAPSHOT = $2C,
VK_INSERT = $2D,
VK_DELETE = $2E,
VK_HELP = $2F,
VK_0 = $30,
VK_1 = $31,
VK_2 = $32,
VK_3 = $33,
VK_4 = $34,
VK_5 = $35,
VK_6 = $36,
VK_7 = $37,
VK_8 = $38,
VK_9 = $39,
VK_A = $41,
VK_B = $42,
VK_C = $43,
VK_D = $44,
VK_E = $45,
VK_F = $46,
VK_G = $47,
VK_H = $48,
VK_I = $49,
VK_J = $4A,
VK_K = $4B,
VK_L = $4C,
VK_M = $4D,
VK_N = $4E,
VK_O = $4F,
VK_P = $50,
VK_Q = $51,
VK_R = $52,
VK_S = $53,
VK_T = $54,
VK_U = $55,
VK_V = $56,
VK_W = $57,
VK_X = $58,
VK_Y = $59,
VK_Z = $5A,
VK_STARTKEY = $5B,
VK_CONTEXTKEY = $5D,
VK_NUMPAD0 = $60,
VK_NUMPAD1 = $61,
VK_NUMPAD2 = $62,
VK_NUMPAD3 = $63,
VK_NUMPAD4 = $64,
VK_NUMPAD5 = $65,
VK_NUMPAD6 = $66,
VK_NUMPAD7 = $67,
VK_NUMPAD8 = $68,
VK_NUMPAD9 = $69,
VK_MULTIPLY = $6A,
VK_ADD = $6B,
VK_SEPARATOR = $6C,
VK_SUBTRACT = $6D,
VK_DECIMAL = $6E,
VK_DIVIDE = $6F,
VK_F1 = $70,
VK_F2 = $71,
VK_F3 = $72,
VK_F4 = $73,
VK_F5 = $74,
VK_F6 = $75,
VK_F7 = $76,
VK_F8 = $77,
VK_F9 = $78,
VK_F10 = $79,
VK_F11 = $7A,
VK_F12 = $7B,
VK_F13 = $7C,
VK_F14 = $7D,
VK_F15 = $7E,
VK_F16 = $7F,
VK_F17 = $80,
VK_F18 = $81,
VK_F19 = $82,
VK_F20 = $83,
VK_F21 = $84,
VK_F22 = $85,
VK_F23 = $86,
VK_F24 = $87,
VK_NUMLOCK = $90,
VK_OEM_SCROLL = $91,
VK_OEM_1 = $BA,
VK_OEM_PLUS = $BB,
VK_OEM_COMMA = $BC,
VK_OEM_MINUS = $BD,
VK_OEM_PERIOD = $BE,
VK_OEM_2 = $BF,
VK_OEM_3 = $C0,
VK_OEM_4 = $DB,
VK_OEM_5 = $DC,
VK_OEM_6 = $DD,
VK_OEM_7 = $DE,
VK_OEM_8 = $DF,
VK_ICO_F17 = $E0,
VK_ICO_F18 = $E1,
VK_OEM_102 = $E2,
VK_ICO_HELP = $E3,
VK_ICO_00 = $E4,
VK_ICO_CLEAR = $E6,
VK_OEM_RESET = $E9,
VK_OEM_JUMP = $EA,
VK_OEM_PA1 = $EB,
VK_OEM_PA2 = $EC,
VK_OEM_PA3 = $ED,
VK_OEM_WSCTRL = $EE,
VK_OEM_CUSEL = $EF,
VK_OEM_ATTN = $F0,
VK_OEM_FINNISH = $F1,
VK_OEM_COPY = $F2,
VK_OEM_AUTO = $F3,
VK_OEM_ENLW = $F4,
VK_OEM_BACKTAB = $F5,
VK_ATTN = $F6,
VK_CRSEL = $F7,
VK_EXSEL = $F8,
VK_EREOF = $F9,
VK_PLAY = $FA,
VK_ZOOM = $FB,
VK_NONAME = $FC,
VK_PA1 = $FD,
VK_OEM_CLEAR = $FE |
_________________
|
|
| Back to top |
|
 |
lurc Grandmaster Cheater Supreme
Reputation: 2
Joined: 13 Nov 2006 Posts: 1900
|
Posted: Wed Dec 12, 2007 9:45 pm Post subject: |
|
|
| Code: | | PostMessageX( hWnd,WM_KEYDOWN,VK_RETURN,0); |
i think? lmao
_________________
|
|
| Back to top |
|
 |
Aikos Cheater
Reputation: 0
Joined: 26 Nov 2007 Posts: 47
|
Posted: Thu Dec 13, 2007 8:51 am Post subject: |
|
|
| Code: | | PostMessageX( hWnd,WM_KEYDOWN,VK_RETURN,0); |
Positive. And MSDN comes to great help when you don't know what to fill in the arguments.
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|