0

在我的 AutoLISP 代码中,我需要检查是否按下了 [SHIFT] 按钮。在 C++ 中,我可以通过GetKeyStatefrom 来完成user32.dll,但如何在 AutoLISP 中调用它?

4

1 回答 1

2
(defun c:mx ()
(if (acet-sys-shift-down)
    (Princ "Shift Key is Down") 
    (Princ "Shift Key is not Down") 
)
(princ)
)
于 2017-03-16T04:19:27.570 回答