-
... 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, { "*** ...
-
... 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; ...
-
... 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 ...
-
... 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 ...
-
... 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 ...
-
... 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 ...
-
... 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, ...
-
... 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= ...
-
... 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 ...
-
... .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 ...