[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sc-users] Re: How to perform a function while closing SuperCollider IDE?
Hi again,
I have encountered some problems while using the ShutDown class. When I
close the IDE it seems that the functions added to the ShutDown objects are
not evaluated at all. It seems.
In my case I use the ShutDown class to save some presets into of separate
parts of my code. I left those functions out.
This is how I use the ShutDown class:
~shutDown = Array.new;
~shutDown = ~shutDown.add({ "function 1"});
~shutDown = ~shutDown.add({ "function 2"});
ShutDown.objects = ~shutDown;
// When I test the added functions with .run it works and stuf is written to
the preset files:
ShutDown.run
// But when I close the IDE with the shortcut 'cmd-quit' nothing is written
to the file.
Could this be bug?
Grt,Marinus
-----
http://soundcloud.com/marinus-klaassen
--
View this message in context: http://new-supercollider-mailing-lists-forums-use-these.2681727.n2.nabble.com/How-to-perform-a-function-while-closing-SuperCollider-IDE-tp7591562p7591575.html
Sent from the SuperCollider Users New (Use this!!!!) mailing list archive at Nabble.com.
_______________________________________________
sc-users mailing list
info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/