-
... nkcolor: Color.new255(23, 254, 54) ); nPages.do { arg i; var scream, pat, file, string, path, linkpath, nx; path = argPath ++ i.asString ++ ".html"; file = File(path, "w"); pat = Pfsm2(this, inf); scream = pat.asStream; string = String.stre ...
-
... .cents < 0 } { output = output + output.cents; }; output; }; interpretFunc = { |string| var output, numbers; output = { string.namemidi }.try; if( output.isNil ) { output = { string.interpret }.try; if( output.notNil && { output > clipHi } ...
-
... ); this.onClose_( FunctionList() .addFunc({ this.free; }) ); thisStates = [ [ ( string: "I", color: Color.grey, fontColor: Color.black ), ( string: "II", color: Color.grey, fontColor: Color.black ), ( string: "III", color: Color.grey, fontC ...
-
+ String { revealInFinder { var path; path = this.standardizePath; if( path[0] != $/ ) { path = String.scDir +/+ path }; "tell application \"Finder\" activate reveal POSIX file % end tell".format( path.quote ).appleScript; //.asAppleScriptC ...
-
... Number-cpsname ( sign ) convert frequency to a notename 440.cpsname; // -> "A3" String-namemidi ( cents ) convert a notename to a midi notenumber "G2" .namemidi; // -> 55 String-namecps ( cents ) convert a notename to a frequency "A2" .name ...
-
... [0].x; }; Pen.lineTo(point); }; Pen.lineTo(end); Pen.fill; } prDrawValues { var string, caseSize; super.values.do({ |value, index| if(thisDisplayFunction.notNil) { string = thisDisplayFunction.value(value); string = string.asString; } { str ...
-
... t .new;\ x.addResponder( '/shared' , \ |t,r,msg| \ var str = msg[1];\ defer \Êd.string = str.asString \\ \);\ \ \ d.keyDownAction = \ \ x.forum.sendToEach( '/shared' , Document .current.string);\ \;\ \ d.onClose = \Êx.stop \
-
... { // Class.initClassTree(KeyDownActions); // } *dialog { var labelColors, labelStringColors, tabs, scTab, prefsTab, scTabs, flow1, flow2, saveCancel, saveCancelFlow; var guiView, guiFlow, midiView, midiFlow, responderView, responderFlow; v ...
-
+ String { asSSHCmd { |login, addr| /* This only works for authenticated hosts. Login can be user:password or just user If sshCmd fails (result = 255) you might want to try sshRunInTerminal and type the password when required. sshCmd will o ...
-
... all gloabal data.\ \ *new( genome)\ \ create a new instance containing a genome string\ \ loadData(path, finishFunc)\ \ open a textfile to read any relevant genetic data. All other data is ignored. After reading the data,\ the finishFunc is ...