Page 1 of 1
Reset the cursor to time 0
Posted: Sat Apr 12, 2014 4:58 pm
by Emerogork
I am using a batch (.au3) file to start/stop a recorder. Under some circumstances the new track continues from its last point, I want to reset the cursor to position 0. Can this be done in my batch file? Is there a command for this?
Re: Reset the cursor to time 0
Posted: Sat Apr 12, 2014 5:10 pm
by Gale Andrews
HOME sets the cursor at time zero.
Gale
Re: Reset the cursor to time 0
Posted: Sat Apr 12, 2014 6:05 pm
by kozikowski
You can also get Home by selecting the whole track by clicking just above the MUTE button and Play.
Koz
Re: Reset the cursor to time 0
Posted: Sat Apr 12, 2014 11:24 pm
by Emerogork
Gale Andrews wrote:HOME sets the cursor at time zero.
Gale
Is "home" the command I use in a batch file to reset the track to 0?
How is that command written?
Re: Reset the cursor to time 0
Posted: Sun Apr 13, 2014 1:44 am
by kozikowski
Don't you get a new track starting from zero if you Record > Stop > Record? That's what happens in real life.
Koz
Re: Reset the cursor to time 0
Posted: Sun Apr 13, 2014 3:24 am
by Emerogork
kozikowski wrote:Don't you get a new track starting from zero if you Record > Stop > Record? That's what happens in real life.
Koz
This isn't real life. (-:
Sometimes, I am working Audacity and end up leaving the cursor somewhere other than at the start. When the batch file kicks in the cursor is not always at the home position.
For example on controlling the process by code: I just learned that I can mute all tracks by having the line:
Send ("^u"); just before sending the command start recording. All tracks are muted except the new one recording. This is of special help later on in the project.
Similarly, I wonder if there is a command to assure that the cursor is at the start of the new track. I tried Send("home"); but it did not seem to work.
.
Re: Reset the cursor to time 0
Posted: Sun Apr 13, 2014 3:52 am
by Gale Andrews
Emerogork wrote:Gale Andrews wrote:HOME sets the cursor at time zero.
Is "home" the command I use in a batch file to reset the track to 0?
"Home" does not shift the track. It ensures the cursor in the project is at time zero.
Emerogork wrote: How is that command written?
Try
http://www.autoitscript.com/forum/ . We can only tell you what the Audacity shortcut bindings are (see
http://manual.audacityteam.org/o/man/ke ... rence.html ).
You can change the shortcut for Skip to Start to something else in the
Keyboard Preferences .
Gale
Re: Reset the cursor to time 0
Posted: Sun Apr 13, 2014 3:26 pm
by Emerogork
Gale Andrews wrote:
You can change the shortcut for Skip to Start to something else in the
Keyboard Preferences .
Gale
yes, Yes, YES, YES!!! (I'll have what he is having...)
Found many of the options I need.
Well, except one: I click on "Audio Track" and can name the track. I would like to do this from my batch file (.au3). This may take a special effort as I did not see an option in the list. Maybe this deserves its own discussion.
.
Re: Reset the cursor to time 0
Posted: Sun Apr 13, 2014 4:36 pm
by Gale Andrews
Emerogork wrote:I click on "Audio Track" and can name the track. I would like to do this from my batch file (.au3). This may take a special effort as I did not see an option in the list.
SHIFT + M opens the Track Drop-Down Menu on the focused track. You can change the shortcut in Keyboard Preferences.
Note the characters that are underlined in the Track Drop-Down Menu. These are called "access keys". You can use them to activate each menu item. So SHIFT + M (if you use that shortcut) followed by A will open the dialogue to name the track.
Gale