Skip to content
조회 수 17544 추천 수 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

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

?

  1. 11
    Nov 2014
    08:17

    음력변환

    Category[Docs]스프레드시트 Views17857
    Read More
  2. 11
    Feb 2011
    15:50

    autohotkey와 autohotkey_l 의 인터넷 창 띄우기 비교예제

    CategoryAutoHotKey Views17775
    Read More
  3. 31
    Aug 2011
    01:19

    PHP 스누피로 사이트 긁어오기가 되지 않는 사이트를 긁어오는 3가지 방법

    Category컴퓨터잡담 Views17774
    Read More
  4. 25
    Jan 2011
    08:37

    함수와변수

    CategoryVisual C++ Views17762
    Read More
  5. 17
    Dec 2011
    13:03

    윈도우7(WINDOWS7) IPv6 제거방법

    Category컴퓨터잡담 Views17730
    Read More
  6. 27
    Apr 2010
    11:03

    Mysql 에러메시지

    Category컴퓨터잡담 Views17550
    Read More
  7. 22
    Feb 2011
    01:22

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

    CategoryAutoHotKey Views17544
    Read More
  8. 22
    Feb 2011
    01:15

    ahk_l 과 com 의 이해

    CategoryAutoHotKey Views17494
    Read More
  9. 10
    Dec 2009
    12:52

    Spy & Capture Spy++과 같은 계열의 프로그램

    Category컴퓨터잡담 Views17416
    Read More
  10. 10
    Dec 2022
    07:42

    어도비 프리미어 프로 템플릿 폴더 관리방법

    Category컴퓨터잡담 Views17395
    Read More
  11. 27
    Jun 2011
    09:42

    윈도우7 공유기 사용시 네트워크 연결 문제

    Category컴퓨터잡담 Views17367
    Read More
  12. 25
    Jan 2018
    12:25

    javascript만으로 html간 변수값 주고받기

    CategoryHTMLPHPMSQL Views17359
    Read More
  13. 13
    May 2010
    16:53

    엑셀 다중조건 구현하기

    Category컴퓨터잡담 Views17312
    Read More
  14. 01
    Aug 2011
    17:50

    Windows 7 빌드 7600 이 Windows는 정품이 아닙니다.( 윈도우7 정품인증 패치,크랙)

    Category컴퓨터잡담 Views17244
    Read More
  15. 08
    Jul 2009
    16:44

    티맥스 앞날이 깜깜

    Category컴퓨터잡담 Views17189
    Read More
  16. 22
    Nov 2010
    22:52

    [PHP] 한글삭제 정규식

    Category컴퓨터잡담 Views17052
    Read More
  17. 10
    Feb 2011
    08:21

    AHK_L 예제소스

    CategoryAutoHotKey Views17023
    Read More
  18. 22
    Feb 2011
    01:31

    ahk_l 웹페이지 파일로 저장한 뒤 불러와 필요한 부분 추출하여 출력하기

    CategoryAutoHotKey Views16996
    Read More
  19. 22
    Dec 2012
    12:35

    컴퓨터 부팅시 실행되는 프로그램 리스트(컴퓨터가 느리다면 꼭 점검할 필요가 있다)

    Category컴퓨터잡담 Views16967
    Read More
  20. 26
    Aug 2010
    11:06

    무선랜 비밀번호 모음

    Category컴퓨터잡담 Views16896
    Read More
Board Pagination Prev 1 ... 9 10 11 12 13 ... 46 Next
/ 46

http://urin79.com

우린친구블로그

sketchbook5, 스케치북5

sketchbook5, 스케치북5

나눔글꼴 설치 안내


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

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

설치 취소