SuperCollider: startup file update: Post incoming OSC
Replacing my “startup.rtf” file in with the one that IZ emailed me: SuperCollider: startup file update: Post incoming OSC. I have also coded the SwingOSC Default Server Boot GUI inside the “startup.rtf” file, just in case i would like to Quit and Restart the Server. The update worked fine.
Here is the code for creating a GUI for booting the Default SwingOSC Server
{
var window, button, status, swingoscserver;
swingoscserver = SwingOSC.default;
window = Window(“SwingOSC Default Server “, Rect(5, 260, 290, 40));
button = Button(window, Rect(5, 10, 50, 20));
button.states = [[“Boot”], [“Quit”]];
button.action = { | me |
if ( me.value == 1, { swingoscserver.boot; “Booting Server…”.postln } );
if ( me.value == 0, { swingoscserver.quit; “Quitting Server…”.postln } );
me.value.postln;
};
window.front;
}.value;
Cygnus Wed, 04 November 2009, 16:53PM