sketchbook location

edited February 2014 in Using Processing

my sketchbook location points to an unknown path under temp folder how do i change it? help appreciated..

Answers

  • edited February 2014 Answer ✓

    Non-saved sketches use %TEMP% folder until they're saved to a specified location.
    Anyways, here's a sketch to display some Java special paths & configs:

    println( javaVersionName );
    println( System.getProperty("java.home")  + "\n" );
    
    println( System.getProperty("os.arch") );
    println( System.getProperty("os.name") );
    println( System.getProperty("os.version") + "\n" );
    
    println( System.getProperty("user.home") );
    println( System.getProperty("user.dir")   + "\n" );
    
    println( sketchPath );
    println( dataPath("") );
    
    exit();
    
  • The real sketchbook path is visible (and can be changed) in the Preferences dialog of the PDE.

    As said, only the unsaved sketches are actually saved in the temp folder, the default path when you save is in the user directory.

Sign In or Register to comment.