26 Nov
2006
26 Nov
'06
3:45 p.m.
Hi I'm trying to write a little something that'll load/unload files from within chuck. I've assigned different filenames to each of the keys a-z and now when a key is pressed I want to: if(file_is_running(filename)){ machine.remove(filename2id(filename)); } else { machine.add(filename); } So basically: how do I figure out if a shred is running with a certain filename and how do I get the id? To be clear: This information is available in the terminal if I kick chuck with "chuck ^", but I want to access this information inside chuck... -- peace, love & harmony Atte http://www.atte.dk | quintet: http://www.anagrammer.dk | compositions: http://www.atte.dk/compositions