Twittering Laser Tripwire with Webcam Capture

Step 5Using open() in processing

Using open() in processing

The "open()" function works a little differently depending on your environment so you may need to find out what works for you, the method below should work.

Uncomment:
//open("/home/your_username/twitter.trip");

If you are using Nautilus or Thunar File Managers(XFCE and Gnome):
Navigate to twitter.trip and right-click it.
Select "Open with other application"
select "Use a custom command"
and type in "bash"

Processing is supposed to send executables to the shell to be run but after trying many methods this was the one that worked. This is also why the sketch has a .trip extension.

« Previous StepDownload PDFView All StepsNext Step »

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!
36
Followers
4
Author:action_owl