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

SuperDaveInLA

macrumors newbie
Original poster
Apr 3, 2008
8
0
Hollywood, CA
I have an apple workflow running off of my laptop for a DIY photo booth at my wedding. The user only has to enter his/her name - the computer then takes 3 snapshots from webcam, formats them into strip form, sends them to a printer, then loops and starts over. What I'm trying to do now is before each snapshot I'd love a dialog to show a random emotion that the user should portray in each shot.

What I want to do is have a list of like 30 possible scenarios ("extremely happy" "shocked" "the person next to you smells", etc etc etc.) and have the computer pick one of them to display before each shot.

Any idea how to do this?!
 
Here you go. Edit it however you'd like:

Code:
set emotions to {"Happy", "Sad", "Angry", "Funny", "Confused", "Shocked"}
set randomEmotion to some item of emotions
 
Caleb - sorry if I'm out of my league here, but that script isn't displaying anything. It's running, but I'm not seeing anything. Am I doing something incorrectly?
 
You can also pick from a file, etc

There are literally dozens of ways to do this.

Seriously, look into some of the AppleScript tutorials online. AppleScript is surprisingly powerful, and very straightforward.

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