Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I have some 9500 individual audio files I am trying to download which:

a) require a login to a website b) are located at subdirectories which ?redirects? to a download link

(eg. www.whatever.com/product/download/id/1234 ==> prompt to download the whatever-file-name.mp3)

Can someone help me write a applescript/automator app that will visit "http://www.blah.com/product/download/id/1" wait until download finishes, +1 then visit: http://www.blah.com/product/download/id/2 loop until 9600

share|improve this question
add comment

1 Answer

set theint to 1 set theurl to "http://blah.com/"

repeat until theint = 6 tell application "Google Chrome" set URL of active tab of window 1 to theurl & theint activate end tell set theint to theint + 1 delay 5 end repeat

works fine so far.. need to change 5s delay to something like 'when download finishes'.. any help?

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.