일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 많다..
- MongoDB #NoSQL #CreateUser #DropUser #mongod #mognod.conf
- 로맨스스캠
- 변태는
- react
- Malware Sample
- ue4dumper
- Sequoia
- 모의해킹
- intelmac
- 척추관협착증
- 네이버카페
- 허리디스크
- 보이스피싱 #대검찰청 #명의도용 #비밀번호 #계좌번호 #공공기관 #가짜검찰청
- CJ대한통운 #쿠팡 #통관번호오류 #통관고유번호오류 #안주원팀장 #모건인베스트
- open redirect
- 취약점
- 채팅환전사기
- esbuild
- 거래사기
- XSS
- 안전결제
- 중고나라
- Frida
- speed-measure-webpack-plugin
- NUGU
- ssrf
- self-signed
- shell_gpt
- CryptoJS
- 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 |