Applescript, Automator or something else to....

Jump to First Reply
Posted:
in Mac Software edited January 2014
I was wondering if it's possible to write a script or if there is an app out there somewhere which would get Safari (or any browser) to automatically open a sequence of url's ? I often need to search through libraries of pic files and it would be great to have a script which went something like....



start file number imgXXXX.jpg

open - www,sampleaddress,com/images/archive1/imgXXXX.jpg

pause - X seconds

close -

file number imgXXX+1.jpg

back to open.



Is there anything that could do this ? I could write it myself in BBC Micro Basic language, but we're not in the early 80's any more

Comments

  • Reply 1 of 2
    kickahakickaha Posts: 8,760member
    Open up Terminal, and 'man curl'. curl can download ranges of files.



    Something like:



    curl --output ~/mysneekypics/img#1.jpg http://www.sampleaddtress.com/images/archive1/img[0001-0568].jpg



    Then use Finder or some other tool to inspect the files.
     0Likes 0Dislikes 0Informatives
  • Reply 2 of 2
    Can you explain that further please ?



    INSTRUCTION ? curl --output

    IS THIS BIT THE SAVE LOCATION ?~/mysneekypics

    FOLLOWED BY NAMING ? /img#1

    THEN THE URL ADDRESS http://www.whatever.com/images/img I GUESS THE NUMBER RANGE [0001-0568].jpg



    I've never used Terminal except for 'sudo periodic' clean-ups.
     0Likes 0Dislikes 0Informatives
Sign In or Register to comment.