this script works as expected for track 1, 2 with one exception. when inPause i'm not finding a good way to make if wait like Record, Play, Stop does.
it's also constraining track 2 the same length as 1, but i'm pretty sure that's a setting somewhere I'm overlooking; i had it going before.
#name RecPlayPause
print "in RecPlayPause"
if inPause //probably add and mode == Stop
//wait cycle //didn't work. for awhile cycle would start but not at top like I hoped.
Play //this happens immediately, and :Play didn't work
else if mode == :Reset
Record
else if mode == :Record
Play
else if mode == :Play
Stop
then for the tracks:
#name RecPlayPause
print "in RecPlayPause"
if inPause //probably add and mode == Stop
//wait cycle //didn't work. for awhile cycle would start but not at top like I hoped.
Play //this happens immediately, and :Play didn't work
else if mode == :Reset
Record
else if mode == :Record
Play
else if mode == :Play
Stop
#name RecPlayPause
print "in RecPlayPause"
if inPause //probably add and mode == Stop
//wait cycle //didn't work. for awhile cycle would start but not at top like I hoped.
Play //this happens immediately, and :Play didn't work
else if mode == :Reset
Record
else if mode == :Record
Play
else if mode == :Play
Stop
https://www.youtube.com/watch?v=j1VS0RgWjB4