3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Run AppleScripts with the wave of a hand

Run AppleScripts with the wave of a hand
«
  • DSCN0291.JPG
  • DSCN0290.JPG
Use an Arduino to control your Mac. In this Instructable I use a photoresistor to detect a shadow falling over it, then tell my Mac to run an AppleScript to play the next track on iTunes. This can be easily modified to run any AppleScript. It is a relatively easy, beginner level project for an Arduino Mac user.
 
Remove these adsRemove these ads by Signing Up
 

Step 1Gather Materials

Gather Materials
You will need:
a Mac computer
AppleScript Proxy from Tinker It! get it here: http://tinker.it/now/2007/04/26/control-your-mac-from-arduino-the-easy-way/
Arduino. I used a Duemilanove
USB cable for Arduino
A photoresistor. Available from any electronics parts store. I got mine at RadioShack. Should cost about $3 for 5.
a 10k resistor. Color code: Brown Black Orange
some wire
breadboard
LED if you don't have on on your Arduino. Though it's optional then, too.

Gather the above materials and install the AppleScript Proxy.

« Previous StepDownload PDFView All StepsNext Step »
12 comments
Jul 17, 2011. 11:38 PMmacgeek says:
After searching High and Low for Tinker.it and their Applescript proxy program, I have located it and posted it on my website

http://www.bandster.us/ASPROXY.zip

This is a zip copy of the original software, with the items also extracted

here is the applescript code.

// Applescript Proxy test
// Skip to the next song on itunes every 10 seconds
void setup() {
Serial.begin(9600);
}

void loop() {
Serial.print("A");
delay(10000);
}

The original program was titled "asproxy02.dmg"

Jonathan
May 6, 2012. 7:18 PMmintybot says:
Hey, I'm really grateful for this. Please, if for some reason if you decide to take your site down in the future, try to upload it to mediafire or some other site. I've searched everywhere for this program, and it looks like yours is the last surviving link.
Dec 5, 2010. 1:24 PMroyalcommoner says:
Does anyone still have that Applescript Proxy available? It's no longer on the Tinker.it site links posted in the instructable (or the one in comments).

Thanks!
Sep 7, 2010. 4:11 AMckuburlis says:
the site changed domain names here is a new link http://tinkerlondon.com/now/2007/04/26/control-your-mac-from-arduino-the-easy-way/

but it now says page not found :(
i'll email them and see if they still have it somewhere
Aug 2, 2010. 11:54 AMnoik says:
very nice, I wil try to make one.!
May 11, 2010. 1:30 PMpTEARgriffin says:
 The Link doesn't Work I was wondering if You could sent me this app Thanks 
Feb 25, 2009. 7:05 PMbalam says:
what AppleScript Proxy program are you using?
Feb 19, 2009. 8:31 AMbalam says:
what serial proxy are you using???????
Feb 5, 2009. 12:05 PMgallatea says:
I like your ending the best.
Jan 28, 2009. 9:12 PMpbresing says:
Here is the video!
Jan 28, 2009. 9:11 PMpbresing says:
Hi, great tutorial. I made one of these with an IR sensor awhile back for a friend's installation art project. Every time someone came through the door of the art gallery, the sensor was tripped and a new track was played on itunes. I just thought the whole process was relatively easy and totally magic!

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
2
Followers
1
Author:photoelectric