Skip to content

macOS version: Shortcuts for Commands requires manually copy to clipboard beforehand, unlike the general shortcut. #227

Closed

Description

@PMeinert

Shortcuts assigned to a specific command require you to manually copy the text into the clipboard beforehand. That is unlike the general shortcut, where selecting the text to work on is enough.

Activity

  1. added a commit that references this issue on Oct 27, 2025
  2. Aryamirsepasi commented on Nov 6, 2025

    @Aryamirsepasi
    Collaborator

    Hi, sorry for the late response. Please check v5.3 and see if the issue is fixed.

  3. PMeinert commented on Nov 9, 2025

    @PMeinert
    Author
  4. Aryamirsepasi commented on Nov 12, 2025

    @Aryamirsepasi
    Collaborator

    Thanks for the detailed report. I've released version 5.4 which should fix the race condition and implements your trailing newline suggestion. Shortcuts should now work identically to the general popup and properly restore your clipboard.

    Could you test it and let me know if this resolves the issues?

  5. PMeinert commented on Nov 13, 2025

    @PMeinert
    Author
  6. Aryamirsepasi commented on Nov 17, 2025

    @Aryamirsepasi
    Collaborator

    Thanks, now I get what you meant.
    Right now the app uses simulated ⌘C and ⌘V, which replaces the clipboard, so the original content gets lost.
    I’m going to switch to a better approach using macOS Accessibility to read the selected text directly and restore a proper clipboard snapshot. I’ll work on this for the next update.
    Glad to hear the shortcuts are at least working now!

  7. added a commit that references this issue on Nov 18, 2025
    418bd00
  8. added a commit that references this issue on Dec 10, 2025
    a8d3798
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions