Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Halp with number crunching program

Name: Anonymous 2006-11-21 20:12

I'm technically illiterate, but I've been wanting a program - that'd cycle through and open a parameter or filenames on a browser window - for a long time.
As in, "http://DSC00000.jpg ~ to ~ http://DSC00150.jpg";
The potential for this is of course vast. The key thing is that it'd have to understand that you wanna go from 0 to 150, and open those up, without manually editing the filepath myself.

How might I accomplish that, in your programing language of choice?

Name: Anonymous 2006-11-22 0:03

I recommend Java with full cross platform compatibility, amazing development speeds so that you can focus on the profitability of your business etc...

Name: Anonymous 2006-11-22 7:14

javascript and DOM

Name: Anonymous 2006-11-22 9:14

>>1
Why would you want that in a browser window? If you want to generate filenames, use Perl, Python, PHP, Ruby, or just about anything, then copy and paste. For example, this Python code generates filenames in the range you wanted:

for i in xrange(151):
    print 'http://DSC%05d.jpg'; % i

As for renaming files, I wrote a regular expression renamer in Perl which supports evaluation, so it does what you want, although you might not like the syntax in which you have to specify what to do. Do you want me to post it?

Name: Anonymous 2006-11-22 11:11

Name: Anonymous 2006-11-22 12:12

>>4
Beautiful, thanks for the content, but
>>5
accomplishes my goal just as well. So dont bother.

Name: Anonymous 2006-11-25 10:48 (sage)

This is not number crunching.

Name: Anonymous 2006-11-26 8:38

>>7
This is number crunching.

Name: Anonymous 2006-11-26 9:32

>>8

What is?

Name: Anonymous 2006-11-26 14:07

>>11
Nothing is

Name: Anonymous 2006-11-26 19:15

>>10
say what?

Name: Anonymous 2006-11-27 0:55

>>11
You do!

Name: Anonymous 2006-11-27 3:40

>>12
In that case,

Name: Anonymous 2009-01-14 14:30

gb2/g/

Name: Trollbot9000 2009-07-01 7:58

The BBC Micro and BBC Basic is   a male to?

Name: Anonymous 2011-02-03 6:31

Name: Sgt.Kabu휷蠬kiman㗽귍 2012-05-28 20:56

Bringing /prog/ back to its people
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy

Don't change these.
Name: Email:
Entire Thread Thread List