-
... 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 ...
-
... }); Button(layout, 180@23) .states_([ ["Load decoder VST preset"] ]) .action_({ FileDialog.new( {|files| model.decoder.vst.readProgram(files[0]) }, path: MugicSpatCon.dir +/+ "ignore" ); }); // Sensitivity StaticText(layout, 130@23).string_ ...
-
... .path = drag; } }; saveButton.action = { editor.save() }; openButton.action = { FileDialog({ |path| this.path = path; }, fileMode:2, acceptMode:0, stripResult:true) }; gitPushButton.action = { this.pushGit(); }; actions = [ ["Create Help Fi ...