Re: URL Access (Re:...sort of)
Re: URL Access (Re:...sort of)
- Subject: Re: URL Access (Re:...sort of)
- From: Rob Stott <email@hidden>
- Date: Tue, 11 Jun 2002 10:43:35 +0100
- Wheresrob: AtWork
On 11/6/02 9:45 am, "Robert Stretch" <email@hidden> wrote:
>
Sorry if I'm straying a little off topic here, but I recently tried to
>
use URL Access Scripting and that "cute little progress bar" but I
>
couldn't get the progress bar to appear whatever I tried. Perhaps
>
somebody could tell me how to get that to appear as it would help me out
>
unbelievably!
Hi there,
This should work for you...
tell application "URL Access Scripting"
set theURL to "
http://www.yahoo.com"
set theFile to (path to startup disk as string) & "download.html"
download theURL to file theFile with progress
end tell
...the trick is the "with progress" bit.
Hope that helps.
Rob
--
Rob Stott
Artwork Designer
Humbrol Ltd / Airfix
Marfleet
Kingston upon Hull
England
HU9 5NE
Tel: +44 (0) 1482 716691
Mobile: +44 (0) 7881 811533 - temporarily not in use
Fax: +44 (0) 1482 781781
ICQ No: 148381812
"...I love the smell of spray mount in the morning."
_______________________________________________
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.