Skip to content

[Feature Request] Add a global stop key (e.g. ESC) to immediately halt execution #5

@kRystalDevv

Description

@kRystalDevv

I often trigger the script from the taskbar using Win + 1. Sometimes I already have a large block of text copied, but the wrong window is in focus or I click too late. The script then keeps typing into whatever happens to be active, which can quickly create a mess.

At the moment, once execution starts, there is no quick or reliable way to interrupt it.

Problem

  • Script continues running even if the target window is not focused
  • Text is typed into unintended applications or fields
  • No emergency stop once execution begins

Requested feature

Add a global stop key, such as ESC, that immediately halts the script mid-execution, regardless of which window is focused.

Why this matters

  • Prevents accidental modification of unrelated text or forms
  • Makes fast keyboard shortcuts safer to use
  • Reduces risk when focus changes unexpectedly

Optional enhancements

  • Show a notification when execution is cancelled
  • Allow users to customize the stop key in settings

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions