Re: URL access scripting
Re: URL access scripting
- Subject: Re: URL access scripting
- From: Gnarlodious <email@hidden>
- Date: Fri, 14 Dec 2001 21:13:22 -0700
Thanks, Berk for this script. I am working it up to check for and if
available, download an audio file updated weekly.
Entity Paul Berkowitz spoke thus:
>
set i to 0
>
set desktopPath to (path to desktop as string)
>
set preExtName to "test"
>
set done to false
>
>
repeat until done
>
set newFilePath to desktopPath & preExtName & ".txt"
>
try
>
get alias newFilePath -- if it doesn't error, you have one
>
set i to (i + 1)
>
set preExtName to "test" & i
>
on error -- means you don't have a file of this name yet
>
set done to true
>
end try
>
end repeat
Rachel
http://www.gnarlodious.com