not quite there yet.
not quite there yet.
- Subject: not quite there yet.
- From: Tudor <email@hidden>
- Date: Wed, 13 Mar 2002 19:10:14 +1000
Many , many thanks to those who have contributed thus far, including bill,
malcolm, jj, rob and kirk!
I am trying to get a simple script to download a number of .asp pages from
an webpage. The pages have a unique 6 digit number to call them from the
database. But one has to login first to browse all the pages.
the closest I have got is with this script
-----
set myFolder to "TiBook:download folder:"
set startURL to
"
http://login:email@hidden/users/pagePreview.asp?pageID="
repeat with x from 222340 to 222345
set f to myFolder & x & ".asp"
tell application "URL Access Scripting" to download (startURL & x) to
file f with progress
end repeat
----
which actually runs and downloads pages, but the pages it saves are simple
files saying 'you don't have access'? Even while internet explorer is open
and logged in?
I think instead of using URL access scripting I might need to take an
approach that uses explorer to load the page and then saves it to disk,
before loading the next page in the series.
Unless of course I can get URL access scripting to actually be logged in
itself?
( I think it will have to be using explorer?)
please help me get this thing licked!
cheers
Tudor Marsden-Huggins
Tel: +61-7-3878 5881
Cell: +61-416 161 600
Fax: +61-7-3878 4887
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.