Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (24) Code (1) Doc (8) Quark (15) SCDoc ↗ Forum ↗ Google ↗
  1. SCLOrkSoundFile Quark

    ... lse; soundFileView.setSelectionColor(0, Color.white); openFileButton.action = { FileDialog.new({ |paths| this.openFile(paths[0]) }, { }); }; window.front; } openFile { |path| soundFile = SoundFile.openRead(path); if (soundFile.isNil, { "*** ...

  2. CactusGUI Quark

    ... w.bounds.height_(windowHeight + 10); window.front; } initDialog { arg mode = 0; FileDialog( okFunc: { arg path; cactus = Cactus(path); this.run; ("You could also open this project by running: \n"++ "c = CactusGUI(\""++path++"\");").postln; ...

  3. SGME_EventRecorder Quark

    ... ectorio inicial if (synthiGME.openDialog) {^this}; synthiGME.openDialog = true; FileDialog( { |path| synthiGME.openDialog = false; path.notNil.if { this.saveEvents(path.dirname, path.basename); } }, { synthiGME.openDialog = false }, fileMod ...

  4. News-3_10 Doc

    ... ixed Guides | News News in 3.10 All the news that's fit to .postln Known issues FileDialog can hang — currently we are only able to reproduce on KDE, but other OS's could be affected. On Windows and Linux, running code with Ctrl+Enter in th ...

  5. BufferSystem Quark

    ... alArr.add(item.fileNameWithoutExtension.asSymbol); }; ^finalArr; } *dirDialog { FileDialog({ |path| this.dirTags(path[0]).radpost(\doln); path[0].radpost(\post); }, { "cancelled".warn; }, 2); } *setDefaultPath { FileDialog({ |path| defaultP ...

  6. QObject Doc

    ... ocumented class) Source: QObject.sc Subclasses: AbstractMenuAction , Download , FileDialog , Layout , QCallback , QPenPrinter , ScrollCanvas , View … see all Description This class is missing documentation. Class Methods Inherited class met ...

  7. JITModPatch Quark

    ... f(path.notNil) { ^new.load(path) }; // else (btw, later implement default path) FileDialog( { |path| new.load(path) }, { NotificationCenter.notify(new, \ready) }, // finish initing empty patch fileMode: 1, acceptMode: 0, stripResult: true, ...

  8. SGUI Quark

    ... action_({ infoText.string= ""; infoText.stringColor= currentPalette.buttonText; FileDialog({|paths| var ok, bank; try{bank= Object.readArchive(paths[0])}; if(bank.notNil and:{bank.notEmpty}, { ok= bank.every{|arr| arr.any{|assoc| assoc.key= ...

  9. Core_z354_shim Quark

    ... BATCH: Button gedrückt — Ordnerauswahl öffnet …".postln; // Verzeichnis wählen (FileDialog fileMode 2 = Directory). FileDialog({ |result| var picked = if(result.isArray) { result[0] } { result }; ("[z354] BATCH: gewählter Ordner = " ++ pick ...

  10. helper-funcs Quark

    ... .action_(inEnvir { ~editor.view.doAutoSave; // if window is not currently empty FileDialog(inEnvir { |path| var file, str; file = File(path, "r"); if(file.isOpen) { protect { str = file.readAllString; } { file.close; }; ~editor.view.setStri ...

prev 1 2 3 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow