Getting the sketchbook / libraries path from within a sketch
in
Programming Questions
•
5 months ago
Any way to get it? I know there is the sketchPAth(""), but I need the sketchbook path to access some library configuration files that are inside that. It could also help a way to get a certain library's folder absolute path.
I've tried this, but says the path is "null":
import processing.app.*;
void setup(){
println("sketchbook.path "+Preferences.get("sketchbook.path"));
}
1