Quick Question (Internet Explorer - OpenURL, GetSource)
Quick Question (Internet Explorer - OpenURL, GetSource)
- Subject: Quick Question (Internet Explorer - OpenURL, GetSource)
- From: Dave Moen <email@hidden>
- Date: Fri, 29 Dec 2000 03:53:38 -0700
New to Apple Script, having problems with Internet Explorer NOT returning
the HTML Source! Is there a better approach to getting the HTML Source from
Internet Explorer and Pasting the Result into a New Microsoft Word Document?
Also, if you use just the GetSource Function the result window is limit to
ONLY 2000 characters - is there a way to expand the result window storage?
Thanks for your assistance.
tell application "Internet Explorer"
Activate
OpenURL "
http://www.apple.com"
set the clipbaord to (GetSource)
end tell
tell application "Microsoft Word"
activate
do Visual Basic " Documents.Add DocumentType:=wdNewBlankDocument"
do Visual Basic " Selection.Paste"
end tell