Can I send a keypress to Windows from Emacs?

前端 未结 2 1440
孤独总比滥情好
孤独总比滥情好 2021-01-21 17:27

There is a function \'w32-toggle-lock-key to, effectively, simulate a press of capslock, numlock, or scroll-lock key. Is there a si

2条回答
  •  耶瑟儿~
    2021-01-21 18:10

    I don't think emacs can do it - you are asking for something very particular... Since you are on Windows, one thing you can try is Autohotkey, by writing a script with something like

    Send {Shift}
    

    And call the script from emacs. Warning: this is untested.

提交回复
热议问题