Changeset 24647 for lang/commonlisp
- Timestamp:
- 11/22/08 20:29:18 (5 years ago)
- Files:
-
- 1 modified
-
lang/commonlisp/cl-win32ole/trunk/example/ie.lisp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/commonlisp/cl-win32ole/trunk/example/ie.lisp
r10948 r24647 1 1 (eval-when (:compile-toplevel :load-toplevel :execute) 2 ( require:cl-win32ole)2 (asdf:oos 'asdf:load-op :cl-win32ole) 3 3 (use-package :cl-win32ole)) 4 5 (defun ie-example1 ()6 (let ((ie (create-object "InternetExplorer.Application")))7 (with-slots (visible busy document) ie8 (setf visible t)9 (funcall ie :navigate "http://sbcl.sourceforge.net/")10 (loop while busy11 do (sleep 0.5))12 (format t "document title is \"~a\".~%" (slot-value document :title))13 (sleep 3))14 (funcall ie :quit)))15 4 16 5 (defun ie-example2 () … … 31 20 (loop while busy do (sleep 0.5)) 32 21 (with-slots (all) document 33 (p (invoke all :tags "A")))))34 )22 (print (invoke all :tags "A"))) 23 (ole ie :quit))))
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)