Skip to content

[FEAT]: Hotkey passthrough #45

@Kamilkampfwagen-II

Description

@Kamilkampfwagen-II

Is your feature request related to a problem? Please describe.
I would like to bind built in hotkey combinations like Ctrl + V while preserving the original functionality.

Describe the solution you'd like
AutoHotkey allows you to do this by sending back the key. Example:

#InputLevel 1
^v::
{
    Send("^v")
    ; do stuff
}

InputLevel 1 is to prevent infinite recursion.

Describe alternatives you've considered
I tried using powershell for this:

ctrl + v : Add-Type -AssemblyName System.Windows.Forms; [System.Windows.Forms.SendKeys]::SendWait('^v'); program.exe

but it goes into an infinite loop.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions