Creating a variable-speed slideshow based on USB input on OSX.
Posted
by Dave A
on Stack Overflow
See other posts from Stack Overflow
or by Dave A
Published on 2010-05-27T01:09:18Z
Indexed on
2010/05/27
1:11 UTC
Read the original article
Hit count: 294
I have a friend who is trying to put together a geeky little contraption for a wedding, where people can view a slideshow. Neither of us use Macs, nor have programmed for one, but for various reasons it has to run on a Mac.
There will be a USB ammeter hooked up to a bike dynamo. What we want is for a slideshow to be run, and advance at a speed relative to how fast someone is pedaling on a stationary bike.
After much googling, it seems like we could load an iPhoto slideshow up via applescript. Is it possible to pause the slideshow and advance it with keypress commands?
The applescript commands would be run via a bash script or similar that would monitor the value returned by the USB ammeter's command-line app and issue the keypress events accordingly.
Is there some other app that could be likewise scripted to display photos?Hoping someone has some hints to get us started in the right direction!
Thanks!
© Stack Overflow or respective owner