Testing out #focused in b43, I've noticed there are some issues with running multiple directives.
Here is the script I'm using for reference:
#name FCB Record/Sub/PrevLoop
#repeat 300
#sustain 400
#focused
if mode == :reset
Record
if mode == :record
Record
if mode == :substitute
Play
if mode == :play
Overdub
if mode == :overdub
Overdub
function OnRepeat {
if repeatCount == 1 Substitute
}
function OnSustain {
if sustainCount == 1 PrevLoop
}
What happens when I try to run it on multiple Focus-locked tracks is that it only seems to execute on one track and somehow processes the repeat function (on that one track). When I remove #repeat and #sustain, the script is working as expected. Haven't had much luck in general getting double-click or sustain to work with #focused or in focused, fwiw.