I search and found any topics about schedule recording, but i have others questions about it and other things to.
I have to record 24h one online radio.
I make a little script look:
Code: Select all
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Outfile_x64=getStJI.exe
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#include <GuiConstantsEx.au3>
#include <WindowsConstants.au3>
Local $iCount = 0
while $iCount<2
Run ("C:Program Files (x86)Audacityaudacity.exe")
WinWaitActive("Audacity")
Local $idInput_Date, $idInput_Time, $iMsgs
#forceref $idInput_Date, $idInput_Time
Send("r") ;Start
sleep (1800000) ;Record 30 minutes
Send("s") ;Stop
sleep (500)
send ("!+fee") ; Export to mp3
sleep (500)
send (@MDAY&"-"&@MON&" - CBN RIO - "&@HOUR&"-"&@MIN&@sec&".mp3 {enter} {enter}") ; Rename file with date, name and hour
;$icount+=1 ; Infinite loop
1 - When the file export, normally i have to wait a little time...2 minutes. and i can not lose the recording should continue.
I thought of open a new audacity and continue the recording. Like i show in code.
But, it's a not work. i do't know why
The script open a new audacity but no start record =/
2 - If you have any solution for first problem, i thought take number of first audacity process in windows, and put sleep (5 min) stop process...and continue just with second recording.
Well..i don't know if it are the best logical, if any one have any solution, i would like know rsrs
Thank You!