Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread Display Modes
Old Jan 20, 2013, 10:48 AM   #1
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.

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.

ashameer is offline   0 Reply With Quote
Old Feb 10, 2013, 05:50 PM   #2
macrumors member
Join Date: Jul 2002
Location: OR
Open the terminal and type the following:
mkdir pdfs
cd pdfs
curl[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

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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 05:22 PM.

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

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