Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Everything like left UP:: in the code below gives an error. #118

Open
leventbaris3535 opened this issue Nov 23, 2024 · 1 comment
Open

Comments

@leventbaris3535
Copy link

#Requires AutoHotkey v2.0
#Include Lib\AutoHotInterception.ahk

AHI := AutoHotInterception()
keyboardId := AHI.GetKeyboardId(0x046D, 0xC534)
cm := AHI.CreateContextManager(keyboardId)

#HotIf cm.IsActive

*Left UP::Media_Prev
*Right UP::Media_Next
*Space UP::Media_Play_Pause

*Left Down::Media_Prev
*Right Down::Media_Next
*Space Down::Media_Play_Pause

#HotIf

@leventbaris3535
Copy link
Author

Error: Invalid hotkey.

Specifically: Left UP up

010: {
010: SetKeyDelay(-1),Send("{Blind}{Media_Prev DownR}")

▶ 010: }

The program will exit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant