If I run my program before Audacity opens I get the error:What have you tried?Hi, I have a python script that I'm trying to have wait until Audacity is open. But I've had no such luck with finding something that works. Does anyone know how to make my script wait until Audacity is opened?
If you try sending a command to Audacity and it's not yet open, what happens? Either you'll get an error, or your program will wait until Audacity starts, or nothing happens and your program will continue. All of these conditions can be detected and handled.
You could try the Message diagnostic command and check what comes back:
https://manual.audacityteam.org/man/ext ... ml#message
pipe-test.py, running on linux or mac
Write to "/tmp/audacity_script_pipe.to.1000"
..does not exist. Ensure Audacity is running with mod-script-pipe.
I've tried the shutil and the subprocess methods, but I can't seem to get anything to work.
Statistics: Posted by Henrik Gill — Sat Jul 06, 2024 2:49 pm