ANTICHAT

ANTICHAT (https://forum.antichat.xyz/index.php)
-   Общие вопросы программирования (https://forum.antichat.xyz/forumdisplay.php?f=206)
-   -   КАК СДЕЛАТЬ ЕМУЛЯЦИЮ НАЖАТИЯ КЛАВИШИ? (https://forum.antichat.xyz/showthread.php?t=1427675)

Slppp 01.04.2022 14:16

КАК СДЕЛАТЬ ЕМУЛЯЦИЮ НАЖАТИЯ КЛАВИШИ?

Slppp 01.04.2022 14:59

https://forum.antichat.xyz/attachments/28007726/

[w0te] 01.04.2022 15:13

C++:





Код:

HWND Wnd
=
FindWindow
(
NULL
,
_D
(
"Name Window"
)
)
;
SwitchToThisWindow
(
Wnd
,
1
)
;
PostMessage
(
Wnd
,
WM_KEYDOWN
,
VK_F1
,
NULL
)
;
PostMessage
(
Wnd
,
WM_KEYUP
,
VK_F1
,
NULL
)
;



Время: 20:38