Skip to content
조회 수 17571 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

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

단축키

Prev이전 문서

Next다음 문서

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

ahk_l  웹페이지 앞, 뒤페이지 제어 예제소스 및 설명첨부


참고소스 : http://www.autohotkey.com/forum/viewtopic.php?p=381395#381395


; open Standard Internet Explorer

pwb := ComObjCreate("InternetExplorer.Application") ; 익스플로러 생성, create IE

pwb.Visible := true ; show IE

pwb.GoHome ; 시작페이지 호출  Navigate Home


; the ReadyState will be 4 when the page is loaded

while pwb.ReadyState <> 4

   continue


; 창이 열리면 해당 창의 이름(pwb.LocationName)과 주소(pwb.LocationURL)

; 설명을 메시지 박스에 출력한다.  get the Name & URL of the site

MsgBox, %   "Name:   " pwb.LocationName

        .   "`nURL:   " pwb.LocationURL

        .   "`n`nLet's Navigate to Autohotkey.com..."


; 열린문서를 oDoc에 저장, get the Document - which is the webpage

oDoc := pwb.document

      

; 오토핫키 사이트 호출, Navigate to AutoHotkey.com

pwb.Navigate("www.AutoHotkey.com") ; 2nd param - see NavConstants


; the Busy property will be true while the page is loading

while pwb.Busy

   continue

MsgBox, Page Loaded...Going Back Now


; 뒤로가기(당근 네이버가 열린다.)Go Back

pwb.GoBack


while pwb.Busy

   continue

MsgBox, The page is loaded - now let's refresh it...


; 새로고침(F5번 효과)Refresh the page

pwb.Refresh

while pwb.busy

   continue

MsgBox, Now that the page is Refreshed, let's Select All (^a)...


; Execute Commands with ExecWB()

SelectAll = 17 ; see CMD IDs

pwb.ExecWB(SelectAll,0) ; second param as "0" uses default options


Sleep, 2000

MsgBox, Now that we're done, let's exit Interent Explorer


; Quit Internet Explorer

pwb.Quit

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

?

List of Articles
번호 분류 제목 날짜 조회 수
717 Server XE file cache 활용 2016.08.19 1685
716 Server 아파치 mod_cache mod_disk_cache 알아보기 7 2016.08.18 3126
715 컴퓨터잡담 MP3 소리 크기 조절 프로그램 file 2016.08.14 3651
714 Server XE 반응형 모바일 메타태그 삽입하기 2016.08.14 3717
713 [Docs]스프레드시트 구글 스프레드시트 설문지 내맘대로 수정하기 file 2016.08.13 11675
712 [Docs]스프레드시트 스프레드시트 api append & update php 셀 내용 수정 4 2016.08.08 5340
711 [Docs]스프레드시트 Google SpeadSheet 조건에 맞는 데이터만 참조하여 가져오기(importrange, Query) 1 file 2016.08.06 13000
710 [Docs]스프레드시트 구글 드라이브에서 다른 파일 데이터 참조하기 file 2016.08.06 6377
709 Server mysql 16CPU / 16GB My.cnf 1 2016.07.26 2538
708 WindowsTip 도스에서 텍스트 파일 치환 2016.07.19 4668
707 Server mysql 테이블 손상시 #1146 - Table 해결방법 file 2016.07.17 8963
706 Server xe 타이틀 게시판 이름 없애기 file 2016.06.28 1859
705 [Docs]스프레드시트 스프레드 웹게시로 불러오기 1 2016.06.24 4751
704 Server 서버 부하상태 체크 file 2016.04.30 1749
703 Server XE Content font-size:수정방법 file 2016.04.19 1904
702 Server XE <title>제목 - 사이트명</title> 으로 변경방법 2016.04.19 2095
701 Server XE 리퍼러 모듈로 트래픽 발생에 대처방법 file 2016.04.17 1426
700 Server ECS P43T-AD3, Asus C381GM, Driver(두번째 사용했던 서버 드라이버) file 2016.04.12 2840
699 Server XE 스케치북 모바일 비회원 댓글쓰기에서 홈페이지 이메일 기입란 삭제하기 2016.04.08 3012
698 Server XE 어느날 갑자기 다운로드가 되지 않을때 해결방법 file 2016.04.07 1387
Board Pagination Prev 1 ... 9 10 11 12 13 ... 46 Next
/ 46

http://urin79.com

우린친구블로그

sketchbook5, 스케치북5

sketchbook5, 스케치북5

나눔글꼴 설치 안내


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

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

설치 취소