Page 1 of 1
Remote naming of tracks
Posted: Sat Apr 12, 2014 2:41 pm
by Emerogork
I am using the Task Scheduler in WIN7 to run a batch (.au3) file that starts and stops recordings in Audacity using
WinAcivate("Audacity")
SendKeepActive("Audacity")
Send("!^+rr")". {and rs}
The problem is knowing the contents of the tracks once many have been recorded.
I just discovered how to name tracks but wonder if I can name them from the batch file.
If this is possible, I wonder if I can do a look up into Excel to grab the contents of a cell and place that into the name of a track? I will be asking in the Excel Forum for answers on this but wonder if they are going to send me back here...
Re: Remote naming of tracks
Posted: Tue Apr 15, 2014 5:18 am
by kozikowski
I am using the Task Scheduler in WIN7 to run a batch (.au3) file that starts and stops recordings in Audacity
I think we're all stunned you got it to work that far.
Koz
How do I name a track from a batch file.
Posted: Sat Apr 19, 2014 1:34 pm
by Emerogork
I see that when I drag a file into Audacity, it creates the track and names it according to the name of the file. This might answer a problem that I have wanted to fix.
On a different note: I am starting and stopping a recording using a batch file (.au3) . Every start creates a new track. How can I name the track from the batch file?
I can grab the information from a cell in Excel and now want to send it into Audacity to name the present track being recorded.
Throughts appreciated.
Re: How do I name a track from a batch file.
Posted: Sat Apr 19, 2014 6:11 pm
by Gale Andrews
Merged your duplicate topics.
Emerogork wrote:I am starting and stopping a recording using a batch file (.au3) . Every start creates a new track.
If you don't like that, Pause/Unpause or Append Record to the selected tracks instead.
Emerogork wrote:How can I name the track from the batch file?
Here is the link you need:
http://www.autoitscript.com/forum/forum ... d-support/ .
Gale
Re: How do I name a track from a batch file.
Posted: Sat Apr 19, 2014 6:28 pm
by Emerogork
Gale Andrews wrote:Merged your duplicate topics.
Emerogork wrote:I am starting and stopping a recording using a batch file (.au3) . Every start creates a new track.
If you don't like that, Pause/Unpause or Append Record to the selected tracks instead.
Emerogork wrote:How can I name the track from the batch file?
Here is the link you need:
http://www.autoitscript.com/forum/forum ... d-support/ .
Gale
No need for the Pause/Unpause as the new tracks are exactly what I want. I was only setting up for the question. Each new track is to be named from the batch file that creates it.
The link only went to another list of discussions. Was it supposed to direct me to something directly related to the topic or are you suggesting that that location would be a better place in which to ask the question?
Re: How do I name a track from a batch file.
Posted: Sun Apr 20, 2014 5:48 pm
by Gale Andrews
Emerogork wrote:Are you suggesting that that location would be a better place in which to ask the question?
You got it.

The exact syntax you need would depend on the specific macro program.
We've told you the key presses to rename the focused track. If you need to move the focus to another track, use UP arrow or DOWN arrow.
Gale
Re: How do I name a track from a batch file.
Posted: Tue Apr 22, 2014 2:10 pm
by Emerogork
Gale Andrews wrote:Emerogork wrote:Are you suggesting that that location would be a better place in which to ask the question?
You got it.

The exact syntax you need would depend on the specific macro program.
We've told you the key presses to rename the focused track. If you need to move the focus to another track, use UP arrow or DOWN arrow.
Gale
Well, it was an "or" question so I will presume that you are pointing to a better place to ask the question. Your continued suggestion to use keys such as UP arrow and DN arrow makes me think that that you still think I am doing any of this manually. All action has to be in the batch file so all those questions did not net much. I will restart the discussion in the suggested area.
Re: Remote naming of tracks
Posted: Tue Apr 22, 2014 2:49 pm
by Emerogork
kozikowski wrote:I am using the Task Scheduler in WIN7 to run a batch (.au3) file that starts and stops recordings in Audacity
I think we're all stunned you got it to work that far.
Koz
I am curious by your statement.
Are you stunned that I was actually able to do it?
Is there a better way and I am beating a dead horse?
Re: How do I name a track from a batch file.
Posted: Tue Apr 22, 2014 3:27 pm
by Gale Andrews
Emerogork wrote:Your continued suggestion to use keys such as UP arrow and DN arrow makes me think that that you still think I am doing any of this manually.
I meant, tell you macro program to use UP and DOWN.
I for one don't know exactly what you are trying to do in your script, but if you succeed with scripting an automated process and can share the script, perhaps others would find it useful.
Alternatives are to compile Audacity and use its scripting feature, or try Edgar Musgrove's "Audacity_Audiobiocolor" modified version of Audacity (
http://www.hometownband.org/members/efm ... unch26.zip ). That does some kind of scripted record/export/quit when you run it from the command-line.
Gale