Reset the cursor to time 0
Forum rules
This forum is for Audacity on Windows.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".
Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".
Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Reset the cursor to time 0
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?
-
Gale Andrews
- Quality Assurance
- Posts: 41761
- Joined: Fri Jul 27, 2007 12:02 am
- Operating System: Windows 10
Re: Reset the cursor to time 0
HOME sets the cursor at time zero.
Gale
Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
-
kozikowski
- Forum Staff
- Posts: 68901
- Joined: Thu Aug 02, 2007 5:57 pm
- Operating System: macOS 10.13 High Sierra
Re: Reset the cursor to time 0
You can also get Home by selecting the whole track by clicking just above the MUTE button and Play.
Koz
Koz
Re: Reset the cursor to time 0
Is "home" the command I use in a batch file to reset the track to 0?Gale Andrews wrote:HOME sets the cursor at time zero.
Gale
How is that command written?
-
kozikowski
- Forum Staff
- Posts: 68901
- Joined: Thu Aug 02, 2007 5:57 pm
- Operating System: macOS 10.13 High Sierra
Re: Reset the cursor to time 0
Don't you get a new track starting from zero if you Record > Stop > Record? That's what happens in real life.
Koz
Koz
Re: Reset the cursor to time 0
This isn't real life. (-: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
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.
.
-
Gale Andrews
- Quality Assurance
- Posts: 41761
- Joined: Fri Jul 27, 2007 12:02 am
- Operating System: Windows 10
Re: Reset the cursor to time 0
"Home" does not shift the track. It ensures the cursor in the project is at time zero.Emerogork wrote:Is "home" the command I use in a batch file to reset the track to 0?Gale Andrews wrote:HOME sets the cursor at time zero.
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 ).Emerogork wrote: How is that command written?
You can change the shortcut for Skip to Start to something else in the Keyboard Preferences .
Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Re: Reset the cursor to time 0
yes, Yes, YES, YES!!! (I'll have what he is having...)Gale Andrews wrote:
You can change the shortcut for Skip to Start to something else in the Keyboard Preferences .
Gale
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.
.
-
Gale Andrews
- Quality Assurance
- Posts: 41761
- Joined: Fri Jul 27, 2007 12:02 am
- Operating System: Windows 10
Re: Reset the cursor to time 0
SHIFT + M opens the Track Drop-Down Menu on the focused track. You can change the shortcut in Keyboard Preferences.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.
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
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual