-
PathName file and directory path utilities superclass: Object PathName is a utility Class for manipulating file names and paths. It expects a path to a file, and lets you access parts of that file path. Creation *new(path) path is a String ...
-
... ( z = this .compile( "(123 + 4000).postln" ); z.postln; z.value; ) compileFile(pathName) Reads the file at pathName, compiles it and returns a Function. The file must contain a valid SuperCollider expression, naturally. This will not compi ...
-
... xtensionFunc, extensionsRoots, extensionsFolders; var undoc, undocIndex; path = PathName .new( "Help/" ); headingIndices = List .new; titleString = "A Generated List of all Documented Classes" ; undoc = "*Show All Undocumented Classes" ; re ...
-
... xtensionFunc, extensionsRoots, extensionsFolders; var undoc, undocIndex; path = PathName .new( "Help/" ); headingIndices = List .new; titleString = "A Generated List of all Documented Extension Classes" ; undoc = "*Show All Undocumented Cla ...
-
... ocumentedClasses, classesStartIndex; var documented, documentedIndex; paths = [ PathName ( "Help/" ), PathName ( "/Library/Application Support/SuperCollider/Extensions" ), PathName ( "~/Library/Application Support/SuperCollider/Extensions" ...
-
... writing files. Not sound files. see also the superclass for further docs. *new(pathname, mode) Create a File instance and open the file. If the open fails, isOpen will return false. pathname a String containing the path name of the file to ...
-
... a Function which refers to variables from outside its own scope). writeArchive(pathname) Write an object to disk as a text archive. pathname is a String containing the resulting file's path. *readArchive(pathname) Read in an object from a ...
-
... is a shortcut for Auto-complete, to make it easier to type.) To open a file by pathname: Document .openFileAutoComplete( "myPath.rtf" ); Document .openFileAutoComplete( "*.sc" ); // wildcards are supported To bring up an open-file dialog: ...
-
... roup: 1) ); // synth will play ahead of the default group Read/Write openRead(inPathname) Read the header of a file. Answers a Boolean whether the read was successful. sets the numFrames,numChannels and sampleRate. does not set the headerFo ...
-
... tandardizePath Expand ~ to your home directory, and resolve symbolic links. See PathName for more complex needs. "~/" .standardizePath; //This will print your home directory basename Return the filename from a Unix path. "Imaginary/Director ...