Hi, there I have a simple audacity script that just needs a little bit of tweaking, hoping someone could help me out with my problem. The script will do three things with my audio, it will add a noise reduction, normalize, and limiter effects on the given audio file but I want the script to wait for the effect to finish before proceeding to add the next effect, unfortunately, winwait and winwaitclose does not work with my script.Pls note that the script works without winwait and winwaitclose but will not work properly if it's added, the only problem is that some effects take longer to work and process than others and i would need AHK to wait before applying the next effect. Really appreciate anyone who can help!!
Code: Select all
^F3::
#IfWinActive ahk_exe audacity.exe
Send !{c}n{Enter}{Tab}{Tab}{Tab}{Tab}
sleep 10
Send {Enter}
; Winwait, ahk_class #32770
; WinWaitClose, ahk_class #32770
Send ^a, 1
sleep 10
Send !{c}n{Enter}{Enter}
sleep 10
; Winwait, ahk_class #32770
; WinWaitClose, ahk_class #32770
Send !{c}{n}{n}{Enter}
sleep 10
Send {enter}
; Winwait, ahk_class #32770
; WinWaitClose, ahk_class #32770
Send !{c}{l}{l}{Enter}
sleep 10
Send {enter}
Winwait, ahk_class #32770
; WinWaitClose, ahk_class #32770
return