Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

island

macrumors 6502
Original poster
Feb 19, 2007
481
2
Nashville
From a little more research, I found that I might need some AppleScript in there along the lines of...

setUrlBase to "http://mysite.com/que_call.cfg?order="

Then I need to figure out how to make it start from WI01010000 through WI01019999 and then stop, saving each page as either HTML or a PDF.

Any ideas would be appreciated, thanks!
 

numero

macrumors regular
Jul 23, 2002
106
3
OR
Is it just me or does it look like you are up to no good? It looks like you are trying to script your way through the orders of someone's web store. No help here for that.
 

island

macrumors 6502
Original poster
Feb 19, 2007
481
2
Nashville
It's to collect work orders in PDF form instead of me keeping them in paper form and wasting space. I'm a service technician for Dell and every morning there is at least 5 papers to print out with service call information.

Don't be so quick to judge.
 

PyroTurtle

macrumors regular
Jul 27, 2001
240
0
10 Minutes from Disneyland
From a little more research, I found that I might need some AppleScript in there along the lines of...

setUrlBase to "http://mysite.com/que_call.cfg?order="

Then I need to figure out how to make it start from WI01010000 through WI01019999 and then stop, saving each page as either HTML or a PDF.

Any ideas would be appreciated, thanks!

You could try just using curl in the terminal. cd to where you want to go and then run:

curl -O "http://mysite.com/que_call.cfg?order=WI0101[0000-9999]"

Just know that it will structure the number in the [] exactly how it's shows. so it will try 0001, then 0002, etc.

Hope that helps, if it doesn't just ignore my ramblings.
 

numero

macrumors regular
Jul 23, 2002
106
3
OR
Your example showed 10,000 web pages to crawl.

If you only have 5 or a few more you could just use the "save as PDF" from the print dialog.




It's to collect work orders in PDF form instead of me keeping them in paper form and wasting space. I'm a service technician for Dell and every morning there is at least 5 papers to print out with service call information.

Don't be so quick to judge.
 

island

macrumors 6502
Original poster
Feb 19, 2007
481
2
Nashville
Curl worked for me, churning away as we speak. Thanks for the help PyroTurtle, you rock!

:D:D:D:D:D:D:D:D
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.