General Question

probably's avatar

Random Image Chooser?

Asked by probably (7points) May 27th, 2008
3 responses
“Great Question” (0points)

I’m looking for software (Mac preferred, but Windows will do) that will randomly choose among dozens of images. I’m using this for a giveaway where I’ll have digital photos of the people who could win and I want to use the software to choose the winner. Any suggestions?

Topic:
Observing members: 0
Composing members: 0

Answers

robmandu's avatar

Mac’s Automator should have the functionality for you to knock this out.

In short, you basically want to:
– launch the Automator on your Mac,
– create a new Workflow,
– add Action that allows you to specify input folder and filetype,
– add Action where it automatically picks file at random,
– show you a Preview of the image, to be sure you like it.

Or you could possibly write a shell script to do the same thing even faster. Depends on your proclivities.

This guy did something similar, but I haven’t pulled apart his DMGs to look at the detail. Hence, cannot recommend it. But maybe it’ll help.

jrpowell's avatar

Would a simple random number generator do?

On OS X you could make a text file called random.rb and put in it:

puts 1 + rand(30)

That one line will give you a mostly random number between 1 and 30 (including 1 and 30). And if you save the file on your Desktop you can run it from the Terminal with:
Macintosh:~ yourusername$ ruby /Users/yourusername/Desktop/random.rb

It isn’t what you want but it will help with choosing a number by random. Or you could buy a few pair of dice.

Skyrail's avatar

I like johnpowell’s dice idea thumbs up

Answer this question

Login

or

Join

to answer.

Mobile | Desktop


Send Feedback   

`