Reset the cursor to time 0

Help for Audacity on Windows.
Forum rules
ImageThis 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.
Post Reply
Emerogork
Posts: 314
Joined: Wed May 18, 2011 11:56 pm
Operating System: Windows 10

Reset the cursor to time 0

Post by Emerogork » Sat Apr 12, 2014 4:58 pm

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

Post by Gale Andrews » Sat Apr 12, 2014 5:10 pm

HOME sets the cursor at time zero.

Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

kozikowski
Forum Staff
Posts: 68902
Joined: Thu Aug 02, 2007 5:57 pm
Operating System: macOS 10.13 High Sierra

Re: Reset the cursor to time 0

Post by kozikowski » Sat Apr 12, 2014 6:05 pm

You can also get Home by selecting the whole track by clicking just above the MUTE button and Play.
Koz

Emerogork
Posts: 314
Joined: Wed May 18, 2011 11:56 pm
Operating System: Windows 10

Re: Reset the cursor to time 0

Post by Emerogork » Sat Apr 12, 2014 11:24 pm

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?

kozikowski
Forum Staff
Posts: 68902
Joined: Thu Aug 02, 2007 5:57 pm
Operating System: macOS 10.13 High Sierra

Re: Reset the cursor to time 0

Post by kozikowski » Sun Apr 13, 2014 1:44 am

Don't you get a new track starting from zero if you Record > Stop > Record? That's what happens in real life.

Koz

Emerogork
Posts: 314
Joined: Wed May 18, 2011 11:56 pm
Operating System: Windows 10

Re: Reset the cursor to time 0

Post by Emerogork » Sun Apr 13, 2014 3:24 am

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.


.

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

Post by Gale Andrews » Sun Apr 13, 2014 3:52 am

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
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

Emerogork
Posts: 314
Joined: Wed May 18, 2011 11:56 pm
Operating System: Windows 10

Re: Reset the cursor to time 0

Post by Emerogork » Sun Apr 13, 2014 3:26 pm

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.

.

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

Post by Gale Andrews » Sun Apr 13, 2014 4:36 pm

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
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

Post Reply