This is untried, but maybe replace everything from #record command \/ onwards with:I don't know if the Record1stChoice command waits or not. You might have to put an infinite loop after it if it doesn't wait.
The two scripts are basically the same, they only send different commands. So they can be combined.
Code:
try: send_command("Record1stChoice")except KeyboardInterrupt: send_command("Stop") sys.exit()
The two scripts are basically the same, they only send different commands. So they can be combined.
Statistics: Posted by scruss — Sun Feb 25, 2024 9:53 pm