Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jan 20, 2013, 10:48 AM   #1
ashameer
macrumors newbie
 
Join Date: Sep 2009
Need help with Apple Script/Automator

Hey all,

I want to access an online catalogue on my iPad, as the catalogue is using flash to display in the net, I canīt, but individual pages can be loaded as pdf. As it has somewhat over 1500 pages I donīt want to click every page on my mac and save it. I found that all the pdfs are residing in one folder on the server, sadly the folder canīt be accessed directly, only the individual files.

http://tpk6.aurednik.de/2012/pdf/pagina.00001.pdf

this path leads to page 1 off the catalogue, pagina.00002.pdf is page 2 and so on. So basicly what I need is a workflow, software, script that starts with page 1, than adds 1 to the filename saves it and so on. Sadly I wasnīt able to find a way in Automator to get this working. As i`m an absolute Noob regarding Apple Script and programming in general, I hope some of the fine people here can help.

Thanks!
Mark
ashameer is offline   0 Reply With Quote
Old Feb 10, 2013, 05:50 PM   #2
numero
macrumors member
 
Join Date: Jul 2002
Location: OR
Open the terminal and type the following:
Code:
mkdir pdfs
cd pdfs
curl http://tpk6.aurednik.de/2012/pdf/pagina.0[0001-1500].pdf -o pagina.0#1.pdf
When it finishes you will have all of the files from the server. Not an AppleScript, but it doesn't look like anything that needs to be done on a daily basis.
numero is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Using Automator / Apple script to run OCR retrospectively duffel7 Mac Basics and Help 3 Jun 21, 2014 06:30 PM
How to ask for variable and pass to shell script in automator? zBernie Mac Programming 1 May 2, 2014 10:58 PM
Automator script not running at every login? Risco OS X Mavericks (10.9) 0 Apr 21, 2014 02:03 PM
Apple automator script nepentanova MacBook Pro 2 Mar 6, 2014 02:06 AM
Creating an Automator Script to Send Email Jetheat OS X 3 Oct 29, 2012 01:47 PM

Forum Jump

All times are GMT -5. The time now is 03:39 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC