sketchPath
in
Programming Questions
•
3 months ago
Hello, I work around the sketchPath but I've a problem when I make an OS app, he don't find the path when it's an app, but find when I use the sketch. I check the path and it's ok.
If any body have an idea. Thx
If any body have an idea. Thx
- String findPathScetch, findPathApp ;
void setup() {
size(300,300 ) ;
- //work with scetck
findPathScetch = (sketchPath("") +"data/target.app") ;
//Doesn't work with the app
findPathApp = (sketchPath("") +"application.macosx/OpenApp.app/Contents/Resources/Java/data/target.app") ;
println(findPathScetch) ;
}
void draw() { }
void mousePressed()
{ - open(findPathApp) ;
}
1