Skip to content

If you enter the X key, the hot key will not be activated. #115

Description

@KorRoman9789

#include Lib\AutoHotInterception.ahk

#InstallKeybdHook

Global AHI := new AutoHotInterception()
Global KeyBoard_ID := "5"

$*x::
while (GetKeyState("x", "P"))
{
scancode := 0x2D

    AHI.SendKeyEvent(KeyBoard_ID, scancode, 0) 
    Sleep, 10 
    
    AHI.SendKeyEvent(KeyBoard_ID, scancode, 1) 
    Sleep, 10 
}

return

exitapp

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions