Skip to content
조회 수 17535 추천 수 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
번호 분류 제목 날짜 조회 수
317 컴퓨터잡담 삼성, 프로그래머들에게 스마트폰 콘텐츠 개발하고 싶게 만들어라. 2 2010.04.09 10989
316 WindowsTip 삼성노트북 NT300E5C-A15R 드라이버 2012.11.27 8814
315 컴퓨터잡담 서버 다운 원인 2015.12.10 558
314 Server 서버 다운시 알람 기능 사용방법(http ping port) file 2017.05.04 10364
313 Server 서버 부하상태 체크 file 2016.04.30 1709
312 Server 서버 최적화 시키기(APACHE, PHP, MYSQL, XE 압축&캐싱&버퍼) 3 file 2016.03.18 6239
311 컴퓨터잡담 서버 해킹 당하다~ 1 6 2009.11.20 15662
310 컴퓨터잡담 서버에 SSD 교체 작업을 해야되나? 2010.04.20 6521
309 컴퓨터잡담 서비스팩3 설치 후 Client Session manager 문제, SM00905 오류 해결방법 1 2 2010.11.01 14407
308 컴퓨터잡담 셀에 현재 날짜와 시간 삽입 2010.06.15 10276
307 [Docs]스프레드시트 쇼킹한 웹 긁어오기 2014.11.11 3903
306 Server 슈퍼캐시에서 .htaccess 이부분 제거해야 하나? 2016.11.23 4526
305 컴퓨터잡담 스누피 고스트 file 2010.10.01 6031
304 WindowsTip 스마트폰으로 오실로스코프 사용하기(App:OsciPrime Oscilloscope Legacy) file 2013.12.27 23302
303 WindowsTip 스윙 브라우저와 크롬 브라우저 비교 file 2013.02.14 8117
302 [Docs]스프레드시트 스프레드 웹게시로 불러오기 1 2016.06.24 4725
301 [Docs]스프레드시트 스프레드시트 api append & update php 셀 내용 수정 4 2016.08.08 5314
300 [Docs]스프레드시트 스프레드시트 autohotkey html gmail 스마트폰 이용하여 핑로스 즉시 알림받기 file 2018.01.25 10578
299 [Docs]스프레드시트 스프레드시트 스크립트 소스 2020.12.26 4892
298 [Docs]스프레드시트 스프레드시트 함수 2020.12.27 4825
Board Pagination Prev 1 ... 29 30 31 32 33 ... 46 Next
/ 46

http://urin79.com

우린친구블로그

sketchbook5, 스케치북5

sketchbook5, 스케치북5

나눔글꼴 설치 안내


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

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

설치 취소