-
... e exists // - closes the file afterwards // - function can also be a string arg pathName, function, overwrite = false, ask = true, mode = "w", doneAction; var theFile; var renameFunc, writeFunc, newNameFunc, savePanelFunc; pathName = pathNa ...
-
PathName: Filter: Description Class methods new tmp Inherited class methods Undocumented class methods scroot Instance methods fileName fileNameWithoutExtension extension pathOnly isAbsolutePath asAbsolutePath isRelativePath asRelativePath ...
-
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 ...
-
... r_ { arg path; dir = path.standardizePath(path); } *standardizePath { | p | var pathName; pathName = PathName(p.standardizePath); ^if(pathName.isRelativePath) { dir ++ pathName.fullPath } { pathName.fullPath } } *abrevPath { | path | if(pat ...
-
... ew{ |fn| ^super.new.init(fn).fileClass_(TabFileWriter); } init{ |fn| var path = PathName(fn); fileName = path.fileNameWithoutExtension; extension = path.extension; pathDir = PathName(path.asAbsolutePath).pathOnly; if ( PathName(pathDir).fil ...
-
... t".postln; createIfMissing = argCreateIfMissing; server = argServer; basePath = PathName(path); basePath.isFolder.not.if({ ("No folder was found at " ++ basePath.absolutePath).warn; createIfMissing.not.if({ ^nil; }) }); audioRoutePath = Pat ...
-
... SourcesInDirectory { |directory, pathMatchPattern="*\.scd", recursive=true| var pathName = PathName(directory); pathName.files do: { |path| try { if (pathMatchPattern.matchRegexp(path.fileName), { "Loading %".format(path.fullPath).postln(); ...
-
... .initPlatform; // Obtenemos el path superior a la carpeta de SC: path_general = PathName(Platform.resourceDir).pathOnly; // Directorio de grabaciones en "Recordings" recordingsDir = path_general +/+ "Recordings" +/+ "Audio"; } // Con estos ...
-
+ PathName { *documentDir { ^Crucial.documentDir } *standardizeDocumentPath { | p | /** * expand path relative to the documentDir */ var pathName, path; pathName = PathName(p.standardizePath); if(pathName.isRelativePath) { path = this.docum ...
-
... nnels, this.server); this.addInputForKey(key, audioBus); }) }, { force.if({ var pathName; pathName = this.createTemplateAudioInRoute(force); pathName.notNil.if({ "Created a template audio input file..".postln; this.prLoadAudioInRoutes(false ...