Is there a way to change a file button directory?I am trying
chnset "Bounce", ""
and
cabbageSet 1, "Bounce", sprintfk("%s", "")
but it doesn’t seem to take. my code is below. this is basically instancing a recorder instr that bounces output to file. I can get it to work once but the directory never changes so it doesn’t work on subsequent tries. I know I’ve gotten this to work before but I’m wondering if something changed?
gSdir chnget "Bounce"
kstop chnget "Stop"
kstrlen strlenk gSdir
if (changed:k(gSdir)== 1) && (kstrlen > 0) then ;check that dir was changed from null (''')
event "i", 100, 0, 500000
endif
if kstop==1 then
turnoff2 100, 0, 0
cabbageSet 1, "Bounce", sprintfk("%s", "")
chnset "Bounce", ""
endif