General Question

probably's avatar

Random Image Chooser?

Asked by probably (7points) May 27th, 2008

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?

Observing members: 0 Composing members: 0

3 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.

This question is in the General Section. Responses must be helpful and on-topic.

Your answer will be saved while you login or join.

Have a question? Ask Fluther!

What do you know more about?
or
Knowledge Networking @ Fluther