-
... jectName, key; ^objects.at(name) ?? { if(lookup) { #objectName ... key = name.asString.split($_); object = objects.at(objectName.asSymbol); if(object.isNil) { ^nil }; object.at(key.join($_).asSymbol); } } } // name, selector, args ... *oscP ...
-
... cond.wait; }; action.(ndefArr); }.fork; } *remove {arg block=1; var blockIndex, string; blockIndex = block - 1; if((block >= 1).and(block <= blocks.size), { string = (ndefs[blockIndex].cs ++ ".clear;"); string.radcode; ndefs.removeAt(blockI ...
-
... URL prefix (e.g. mail://) Arguments: prefix URL prefix. For mail:/// , use the string "mail" (do not append "://") function Function to execute when any WebView loads a URL with this prefix. First argument is the URL. Inherited class metho ...
-
... ypes documented in SCLOrkChat OSC Command Reference: Message Types . contents A string with the text contents of the chat message. senderName Optional argument, not part of the chat message wire format, the string name associated with the s ...
-
... ue.at(0).at(box)); synthsList.at(i).set(\trigRate, myvar, \dur, myvar2); xfield.string_("grainDur"); yfield.string_("trigRate"); if(i == 0, { paraDict1.add(\trigRate -> myvar); paraDict1.add(\dur -> myvar2); }, { paraDict2.add(\trigRate -> ...
-
... gs(cactus).init; } init { templatesDir = CactusTemplateManager.filenameSymbol.asString.dirname; templatesDir = templatesDir ++ "/templates/" } runTemplate { arg templateName, options = (); var path; path = PathName.new(templatesDir ++ templ ...
-
... wBounds.top) { y = windowBounds.top; }; //value = funcParam.value(view.value).asString("%.2f"); this.showTooltip(x, y); } makeText { if (makeTextFunc.notNil) {^makeTextFunc.()} { var value = funcParam.value(view.value).asString("%.2f"); ^(p ...
-
... themes[theme] ?? {themes.default}; } *fixDec {|val, numDecimals= 2| //float to string with fixed number of decimals var str= val.round(0.1**numDecimals).asString; var num= str.size-str.indexOf($.)-1; ^str.extend(str.size+numDecimals-num, $ ...
-
... Mlib , ActionMenu , PathActionQMenu , ListView Description An ActionMenu, where string entries are interpreted as file/folder paths. A folder works multi-level, listing subfolders. Directories navigate to the next level with a new window an ...
-
... (e.g. [nodejs]) and in a web browser. ipaddr.js allows you to verify and parse string representation of an IP address, match it against a CIDR range or range list, determine if it falls into some reserved ranges (examples include loopback ...