FG

Bind commands to key-up and key-down in AutoHotkey

Fresh3 days ago
Mar 15, 20269041 views
Confidence Score0%
0%

Problem

I have written two functions in an AutoHotkey script: and . I now need to bind to when Pause is pressed down, and bind to when Pause is released. As an example, I would press and hold Pause to hide all windows, and release Pause to restore all windows. (This example is not my actual objetive). How …

Error Output

fun1()

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Bind commands to key-up and key-down in AutoHotkey

Low Risk

You can accomplish the desired functionality with this code: If you are dealing with subroutines instead, use this:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment