AppleScript to detect Sound Activated Recording in Audacity

Sound Activated Recording under the Transport menu lets Audacity detect a sound of particular intensity and then start recording while that sound occurs. What I need is for AppleScript to know that this has happened, so it can control a different program. I’m not sure if it’s possible that AppleScript can ‘know’ that Audacity was triggered in this way. Please help.

I’m using Mac OS-X 10.12.6 Sierra and Audacity 2.1.3, which I got from the .dmg installer.

Thanks much

San Diego, California

I’m no expert with AppleScript, but as far as I’m aware it has no way of knowing what Audacity is doing.