chaohershi / cclose

A Windows utility that helps you close windows faster or pin windows always on top.
https://chaohershi.github.io/cclose/
MIT License
383 stars 16 forks source link

Nonexistent hotkey variant error #7

Closed chaohershi closed 4 years ago

chaohershi commented 4 years ago

Snipaste_2020-10-18_05-38-24

Steps to reproduce:

  1. Open Advanced Settings GUI
  2. Change hotkeys settings
  3. Close GUI

Cause:

After changing hotkeys settings, the scope of the Hotkey command is changed, which results in this error.

Fix:

Always define hotkey scope before using Hotkey command:

Hotkey, If, [KeyScope]
Hotkey, ...

See also:

Remarks About Hotkey, If Get Nonexistent hotkey error