Opening an application (flux) in processing
in
Programming Questions
•
1 year ago
Ok, I've got arduino sending the brightness level of my room through serial on the push of a button. Cool.
Now, I've also got a Processing sketch to record the light level when the button is pressed. Nice
All I need to do is create an if statement to open flux...
- if (light < 36) {
- open(derpderpderp)
...and now I'm stumped. I've looked at the reference page on open(), used google-fu, and added a dash of tinkering, but still can't open flux.exe using this method.
For me, flux is located at
- C:\Users\myName\Local Settings\Apps\F.lux\flux.exe
and the processing sketch is at
- C:\Users\myName\Documents\Processing\lightfun
If it's not painfully obvious by now, this is my first attempt at using processing, so thanks in advance for dumbing down any responses to child-like levels.
1