- Katılım
- 1 Ağu 2025
- Konular
- 3
- Mesajlar
- 18
- Online süresi
- 1d 9h
- Reaksiyon Skoru
- 0
- Altın Konu
- 0
- TM Yaşı
- 10 Ay 9 Gün
- Başarım Puanı
- 16
- MmoLira
- 382
- DevLira
- 0
ROHAN2 WORLD 1-120 TR TİPİ OFFICIAL YOHARA, BALATHOR VE AMON! 80. GÜNÜNDE! +10.000 ONLİNE! HİLE VE BOT %100 ENGELLİ HEMEN TIKLA!
Hi, i tried to create a macro in .net or in c#, i tried some function sendkeys, sendinput for example, but not work in metin2 client, why? (i run the program as administrator)
Son düzenleme:
- Katılım
- 2 May 2019
- Konular
- 0
- Mesajlar
- 65
- Online süresi
- 27d 4h
- Reaksiyon Skoru
- 17
- Altın Konu
- 0
- Başarım Puanı
- 64
- MmoLira
- 2,586
- DevLira
- 0
keybd_event()
Linkleri görebilmek için Turkmmo Forumuna ÜYE olmanız gerekmektedir.
C#:
[DllImport("user32.dll", SetLastError = true)]
static extern void keybd_event(byte bVk, byte bScan, int dwFlags, int dwExtraInfo);
public const int KEYEVENTF_EXTENDEDKEY = 0x0001; //Key down flag
public const int KEYEVENTF_KEYUP = 0x0002; //Key up flag
public const int VK_LCONTROL = 0xA2; //Left Control key code
public const int A = 0x41; //A key code
public const int C = 0x43; //C key code
public static void PressKeys()
{
keybd_event('M',0,0,0);
...

