I'll have to see if I can find the script again. It's somewhere in this group discussion. Here's the link to the webcam I want to capture and time lapse.
http://www.nps.gov/yell/photosmultimedia/webcams.htm#
It refreshes about every 30 seconds. What I want to do is capture several hours worth of stills into a folder on my desktop and then create a time lapse video of the captures. I think Quicktime can handle the conversion to a .mov file.
Aha! Here's the script, posted by user paulpen. He uses a ramdisk.
set framenum to 10001 as integer
repeat 10 times (* divided by 2 gives you number of minutes you'll capture *)
set currentnum to framenum as string
try
set filo_namo to file ("RAMdisk:" & currentnum & ".jpg") as file specification
tell application "URL Access Scripting" to download ¬
"http://www.topnews.in/files/isla-fisher.jpg" to filo_namo
end try
set framenum to framenum + 1
delay 28 (* results in a capture cycle of about 30 sec *)
end repeat