Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 1241

Python • Re: Wait for app to open with Python

$
0
0
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?
What have you tried?

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

Statistics: Posted by ame — Sat Jul 06, 2024 12:31 am



Viewing all articles
Browse latest Browse all 1241

Trending Articles