CLEO Help Not working

CLEO related
Status
Not open for further replies.

Petricko

Member
Joined
Dec 21, 2014
Messages
23
Reaction score
0
Why when i use this dont work? Dont "press" any key??? Please help. Or tell me some other way to press [ENTER] Key.
Code:
0AB1: call @keyPress 2 key 13 time 1

Code:
:keyPress
// 0@ - key, 1@ - time
// Example: 0AB1: call @keyPress 2 key 0@ time 1@

if 0AA2: 2@ = load_library "User32.dll"
then
     if 0AA4: 2@ = get_proc_address "keybd_event" library 2@
     then
         0AA5: call 2@ num_params 4 pop 0 0 0 0 0@
         wait 1@
         0AA5: call 2@ num_params 4 pop 0 0 0x02 0 0@
     end
end
0AB2: ret 0
 

ThermaL

Expert
Joined
Oct 23, 2013
Messages
1,593
Reaction score
3
CALL
0AB1: @FAKE_KEYPRESS 1 13

SNIPPET
:FAKE_KEYPRESS
1@ = 0xB73458
005A: 1@ += 0@  // (int)
0A8C: write_memory 1@ size 1 value 255 virtual_protect 0
0AB2: ret 0
 
Status
Not open for further replies.
Top