adjust Active-X example to work with newer IE
This commit is contained in:
parent
35c3554343
commit
e1e89adf62
|
@ -36,9 +36,11 @@ the ``Sysmon'' ActiveX control that is included with Windows.
|
||||||
(lambda (doc url) (semaphore-post ready))
|
(lambda (doc url) (semaphore-post ready))
|
||||||
ex)
|
ex)
|
||||||
|
|
||||||
;; Navigate to an empty URL to get an initial document:
|
;; Navigate to get an initial document:
|
||||||
(com-invoke ie "Navigate" "")
|
(com-invoke ie "Navigate" "about:blank")
|
||||||
(semaphore-wait ready)
|
(define READYSTATE_COMPLETE 4)
|
||||||
|
(unless (= (com-get-property ie "READYSTATE") READYSTATE_COMPLETE)
|
||||||
|
(semaphore-wait ready))
|
||||||
(define doc (com-get-property ie "Document"))
|
(define doc (com-get-property ie "Document"))
|
||||||
|
|
||||||
;; Install HTML to show the ActiveX control:
|
;; Install HTML to show the ActiveX control:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user