Remote naming of tracks
Forum rules
This board is ONLY for general feedback and discussion about Audacity 2.X.
If you require help, or think you have found a "bug", please post on the forum board relevant to your operating system.
Windows
Mac OS X
GNU/Linux and Unix-like
This board is ONLY for general feedback and discussion about Audacity 2.X.
If you require help, or think you have found a "bug", please post on the forum board relevant to your operating system.
Windows
Mac OS X
GNU/Linux and Unix-like
Remote naming of tracks
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...
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...
-
kozikowski
- Forum Staff
- Posts: 68901
- Joined: Thu Aug 02, 2007 5:57 pm
- Operating System: macOS 10.13 High Sierra
Re: Remote naming of tracks
I think we're all stunned you got it to work that far.I am using the Task Scheduler in WIN7 to run a batch (.au3) file that starts and stops recordings in Audacity
Koz
How do I name a track from a batch file.
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.
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.
-
Gale Andrews
- Quality Assurance
- Posts: 41761
- Joined: Fri Jul 27, 2007 12:02 am
- Operating System: Windows 10
Re: How do I name a track from a batch file.
Merged your duplicate topics.
Gale
If you don't like that, Pause/Unpause or Append Record to the selected tracks instead.Emerogork wrote:I am starting and stopping a recording using a batch file (.au3) . Every start creates a new track.
Here is the link you need: http://www.autoitscript.com/forum/forum ... d-support/ .Emerogork wrote:How can I name the track from the batch file?
Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Re: How do I name a track from a batch file.
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.Gale Andrews wrote:Merged your duplicate topics.
If you don't like that, Pause/Unpause or Append Record to the selected tracks instead.Emerogork wrote:I am starting and stopping a recording using a batch file (.au3) . Every start creates a new track.
Here is the link you need: http://www.autoitscript.com/forum/forum ... d-support/ .Emerogork wrote:How can I name the track from the batch file?
Gale
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?
-
Gale Andrews
- Quality Assurance
- Posts: 41761
- Joined: Fri Jul 27, 2007 12:02 am
- Operating System: Windows 10
Re: How do I name a track from a batch file.
You got it.Emerogork wrote:Are you suggesting that that location would be a better place in which to ask the question?
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
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Re: How do I name a track from a batch file.
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.Gale Andrews wrote:You got it.Emerogork wrote:Are you suggesting that that location would be a better place in which to ask the question?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: Remote naming of tracks
I am curious by your statement.kozikowski wrote:I think we're all stunned you got it to work that far.I am using the Task Scheduler in WIN7 to run a batch (.au3) file that starts and stops recordings in Audacity
Koz
Are you stunned that I was actually able to do it?
Is there a better way and I am beating a dead horse?
-
Gale Andrews
- Quality Assurance
- Posts: 41761
- Joined: Fri Jul 27, 2007 12:02 am
- Operating System: Windows 10
Re: How do I name a track from a batch file.
I meant, tell you macro program to use UP and DOWN.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 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
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual