-
... his); isEmpty = false; isLocked = true; filePath = path; }; if (argpath.isNil) {FileDialog(loadfunc, {}, 2, 0, true)} {loadfunc.(argpath)} } openFunctions { var addchip, draftpitch = nil, peakAmp = 0, draftchip = (), writechips, clearchips; ...
-
... eplace FlowLayout with Layout and fix background colors //change from Dialog to FileDialog to better handle folders //folder selection now remember last location //progressbar now wrap around when loop is on //--changes171223: //rewrite to ...
-
... .asInt, f.files[0].fullPath,{}) } }); } saveProject{ if(app.projectPath.isNil){ FileDialog.new({|path| path.mkdir; path = path ++ "/"; (path ++ "audio").mkdir; app.gui.tabs.do({|tab| tab.save(path)} ); app.projectPath = path; this.saveBuffe ...
-
... te; // Define un directorio inicial if (openDialog) {^this}; openDialog = true; FileDialog( { |path| openDialog = false; path.notNil.if { this.saveState(path.dirname, path.basename); } }, { openDialog = false }, fileMode: 0, // Permite la s ...
-
... >=0, { this.read(soundfiles[val].path); }); }; readFolderButton.action= {|view| FileDialog({|paths| this.prReadFolder(paths[0]); }, fileMode: 2, path: lastFolderPath); }; readFileButton.action= {|view| FileDialog({|paths| this.prReadFile(pa ...
-
... 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 ...
-
... 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 ...
-
... 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, ...