-
Platform: Filter: Description Class methods Platform name and platform dependent actions case ideName Directories and filesystem stuff classLibraryDir helpDir systemAppSupportDir systemExtensionDir userHomeDir userAppSupportDir userConfigDi ...
-
Platform superclass: Object The Platform class (along with its subclasses) handles things which differ between operating systems (mac/linux/windows/...), to simplify cross-platform aspects of SuperCollider. Platform is an abstract class enc ...
-
// Normally, controlling platform specific commands is implemented with Platform.case: ( Platform.case {\osx} { openOS("https://apple.com") } {\linux} { openOS("https://linux.com") } {\unix} { openOS("http://unix.org") } ...
-
... moveExcludePath(_)); } *add { |configFileName, dir| var configFilePath = (dir ? Platform.userConfigDir) +/+ "sclang_conf_%.yaml".format(configFileName); if(File.exists(configFilePath)) { ("Did not add configuration, it exists already in thi ...
-
// Usar esta extensión sólo en caso de crear apliación standalone + WindowsPlatform { initPlatform { var path_general; super.initPlatform; // Obtenemos el path superior a la carpeta de SC: path_general = PathName(Platform.resourceDir).pathO ...
-
... dation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + Platform { *miSCellaneousDirs { |withWarnings = true| var dirs = (Platform.userExtensionDir +/+ "miSCellaneous*").pathMatch ++ (Platform.systemExtensionDir +/+ ...
-
... |parent, bounds| ^super.new.init(parent, bounds); } init { |parent, bounds| var platform, scrollArea, scrollView, flow; var editAreasBg, staticTextColor, staticTextFont, shortCutFont, textFieldFont; var makeEditArea, editArea; var thisBound ...
-
+ OSXPlatform { startupFiles { ^[Platform.resourceDir +/+ "startup.scd"] } } + Platform { *hasIndependentSupportFolder { Platform.userAppSupportDir.basename != "SuperCollider"; } *openStartupFiles { thisProcess.platform.startupFiles.do(_.op ...
-
... xtensions; if (extensionName.isNil) {extensionName = appName}; userExtensions = Platform.userExtensionDir +/+ extensionName +/+ "SynthiGME.quark"; systemExtensions = Platform.systemExtensionDir +/+ extensionName +/+ "SynthiGME.quark"; ^(Fil ...
-
///// find 4 default sounds in SC resourceDir: // SoundFile.pathMatch(Platform.resourceDir +/+ "sounds/a11*.aiff"); // SoundFile.pathMatch("~/*/*.*").size; // SoundFile.pathMatch("~/*/*/*.*").size; /* // three intended fails: SoundFile.exis ...