Skip to content

Missing macro command - Cursor to Next Clip Boundary #7530

Closed

Description

@billw58

Bug description

There are four menu commands to do with the cursor and clip boundaries. Two of them move the cursor, and two of them extend the selection. They are:

  1. Transport > Cursor to > Previous Clip Boundary
  2. Transport > Cursor to > Next Clip Boundary
  3. Select > Audio Clips > Previous Clip Boundary to Cursor
  4. Select > Audio Clips > Cursor to Next Clip Boundary

But there are only three macro commands:

  1. Cursor to Next Clip Boundary (SelCursorToNextClipBoundary)
  2. Cursor to Previous Clip Boundary (CursPrevClipBoundar)
  3. Previous Clip Boundary to Cursor (SelPrevClipBoundaryToCursor)

If the user wants the behaviour for menu choice Transport > Cursor to > Next Clip Boundary, they're out of luck. Choosing the macro command "Cursor to Next Clip Boundary" gets the menu behaviour for Select > Audio Clips > Cursor to Next Clip Boundary.

Should we have, instead, macro commands that are named: Select Previous Clip Boundary to Cursor and Select Cursor to Next Clip Boundary? The current macro command Cursor to Next Clip Boundary would execute CursNextClipBoundary.
This makes it clear which commands move the cursor and which extend the selection.

Steps to reproduce

See above

Expected behavior

See above

Actual behavior

No response

Audacity Version

latest stable version (from audacityteam.org/download)

Operating system

macOS

Additional context

No response

Activity

  1. added
    AU3-bug
    on Oct 14, 2024
  2. added
    macros / scripting
    on Oct 14, 2024
  3. DavidBailes commented on Sep 7, 2026

    @DavidBailes
    Collaborator

    This was fixed in 3.7.8 by this PR: #10629

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    AU3-bugmacros / scripting

    Type

    Fields

    Priority

    None yet

    Effort

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions