Skip to content
AutoHotKey
2012.02.22 08:19

autohotkey) postmessage mouse control

조회 수 28628 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

autohotkey) postmessage mouse control

 

http://www.autohotkey.com/forum/topic47496.html

+q::
WinSetTitle,GridCal v1.0, ,GRIDCAL1

WinID := WinActive("GRIDCAL1")

SetFormat,integer,h
HexWinId := WinID

;Post MouseMove Message -- 0x021901AF is the x,y coordinate relative to window,no tscreen coordinates. -- position is 431,537
PostMsg("0x200","0x00000000","0x021901AF",WinID)

;Post MouseActivate Msg -- the WParam has to be true - i think it is 0x00000001
PostMsg("0x21",HexWinId,"0x00000001",WinID)

;Activate App -- the WParam has to be true - i think it is 0x00000001
PostMsg("0x1C","0x00000001","0x00000000",WinID)

;Activate -- here Wparam is HTCLIENT -- I read somewhere that its integer val is 2
PostMsg("0x06","0x00000002","0x00000000",WinID)

;Set Cursor -- hit-test code.is HTCLIENT and mouse mesage ID is 513
PostMsg("0x20",HexWinId,"0x02010001",WinID)

;Button Down -- position is 431,537
PostMsg("0x201","0x00000000","0x021901AF",WinID)

;Button Up -- position is 431,537
PostMsg("0x202","0x00000000","0x021901AF",WinID)

Return

+w::Reload


PostMsg(msg,Wparameter,LParameter,WindowID)
{
   PostMessage,%msg%,%Wparameter%,%LParameter%,,ahk_id %WindowID%
   Sleep,200   
}   

 

   관련 게시물 :

 

   AUTOhotKEY 웹페이지 열지않고 소스 가져오기 또는 로그인 하기 

   AUTOhotKEY 오토핫키 콤보박스 제어하기

   AUTOhotKEY 웹페이지 감시결과에 따라 마이피플로 글 전송하기

   AUTOhotKEY 윈도우 ahk_id 추출하기

   Autohotkey 엑셀(Excel)에서 행값 증가시키기

   Autohotkey 30분마다 자동으로 디스크 정리하기

                                                                     

                                                   

 

로그인 후 댓글쓰기가 가능합니다.

?

  1. mysql 재시작, 사용자 추가 명령어

  2. reader_sl.exe , AdobeARM.exe 프로세스 삭제방법

  3. MySQL TABLE 손상시 대응방법(db 내용이 안 나올때)

  4. 네이버 만화 PHP로 RSS 출력 만들기

  5. 컴퓨터 OS부팅도 이젠 초고속 전쟁이다.

  6. 엑셀에서 날짜와 시간 계산하는 법

  7. VBA - 시트/셀, 엑셀 값만 복사하기! (VBA을 이용한 복사영역 조절)

  8. 자바스크립트 종말각?! HTML에서 파이썬 실행하는 PyScript 등장!

  9. Excel Vba) 현재 셀에서 한줄내림 (activecell.offset(1,0).Select)

  10. 네이버, 다음지식 php로 RSS 출력 만들기

  11. PF사용...페이징 중지를 통한 시스템 성능개선

  12. eXCEL VBA)엑셀파일 열지않고 내용 불러오기

  13. autohotkey) 윈도우 ahk_id 추출하기

  14. rss리더기

  15. Google Spreadsheet (Docs) 에서 우리은행 환율정보 이용하기

  16. 한글 HEX 코드표

  17. Excel) 엑셀 콤보박스 대화상자 목록지정하기

  18. Excel VBA) 원하는 범위 지정한 뒤 복사하여 붙여넣기

  19. curl로 다음 자동로그인 가능하다.

  20. autohotkey) 편입 변수

Board Pagination Prev 1 2 3 4 5 6 ... 46 Next
/ 46

http://urin79.com

우린친구블로그

sketchbook5, 스케치북5

sketchbook5, 스케치북5

나눔글꼴 설치 안내


이 PC에는 나눔글꼴이 설치되어 있지 않습니다.

이 사이트를 나눔글꼴로 보기 위해서는
나눔글꼴을 설치해야 합니다.

설치 취소