| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 | 30 |
- intelmac
- 허리디스크
- 네이버카페
- ue4dumper
- Sequoia
- 모의해킹
- 척추관협착증
- 중고나라
- self-signed
- S3
- 내부확산
- ssrf
- 많다..
- shell_gpt
- LFI
- 안전결제
- 취약점
- Frida
- EC2
- cve-2025-55182
- jeb_mcp
- Malware Sample
- react2shell
- AWS
- mitmproxy
- aes
- XSS
- 채팅환전사기
- 변태는
- Today
- Total
annyoung
[AutoHotKey Header] SendH.ahk 본문
SendH( sAnsiText ) { wStrLen:=DllCall("MultiByteToWideChar",uint,0, uint,0, str,sAnsiText , uint,-1, str, 0, uint,0 ) varSetCapacity(cu_WideText,wStrLen*2,0) DllCall("MultiByteToWideChar",uint,0, uint,0, str,sAnsiText , uint,-1, str,cu_WideText, uint, wStrLen ) nEventCount := wStrLen* 2 , VarSetCapacity( events, 28*nEventCount, 0 ) ptrWCode:=&cu_WideText , p:=&events msgbox, % ptrwcode loop, % wStrLen-1 { code:=*ptrWCode|( *(ptrWCode+1)<<8 ),ptrWCode+=2 p:=NumPut(4,NumPut(code,NumPut(1,p+0 )+2,0,"UShort")+0)+16 p:=NumPut(6,NumPut(code,NumPut(1,p+0 )+2,0,"UShort")+0)+16 } result := DllCall( "SendInput", "uint", nEventCount, "uint", &events, "int",28) if( ErrorLevel or result < nEventCount ) { MsgBox, [SendInput] failed: EL = %ErrorLevel% ~ %result% of %nEventCount% return, false } return, true } |
Description : 한글을 Send 하기 위한 헤더파일 입니다. 비슷한 방식으로 ClipBoard에 변수를넣고 붙여넣기 하는 방법이 있습니다. |
'프로그래밍' 카테고리의 다른 글
| Microsoft-IIS/6.0 webdav remote authentication bypass scanner v0.1 (0) | 2014.03.28 |
|---|---|
| [AutoHotKey Header] EUC-KR Encode, Decode.ahk (15) | 2014.03.14 |
| [AutoHotKey Header] UTF8Encode, UTF8Decode.ahk (1) | 2014.03.14 |
| [AutoHotKey Header] MD5.ahk (0) | 2014.03.14 |
| [AutoHotKey Header] COM.ahk (0) | 2014.03.14 |

SendH.ahk