Use open() to launch an exported processing application with arguments?
in
Programming Questions
•
1 year ago
Hi everybody,
I'm trying to call an exported processing sketch using some strings as arguments.
The sketch is exported as a desktop application, not an applet.
My intension is to use open() on my sketch to call the app and use param() in the app in order to receive the args and use them.
I followed the instructions of the wiki:
http://wiki.processing.org/w/Setting_width/height_dynamically but running open() nothing happens no errors are printed in the console (I'm on a mac).
String[] args ={"/Users/user/Projects/Processing/IconProducer/application.macosx/IconProducer.app",
"file=/Users/user/Projects/Processing/IconProducer/application.macosx/nouvele.mp3"
};
open(args);
If I only call the path to the .app, the app launches right away. But when i try to add an argument it doesn't...and no error or exception appears in the console.
Has anyone ever tried anything like this ?
Thanks in advance!
1