How to generate keyboard keypress events through Python to control PP presentation?

前端 未结 2 447
北海茫月
北海茫月 2020-12-20 02:52

I need to programmatically control powerpoint/pdf presentations (the 4 direction keystrokes need to work at the minimum to go to the previous and next slides).

What

2条回答
  •  甜味超标
    2020-12-20 03:26

    You can try PyQt or wxPython

    Here is a link for how to handle key press with PyQt - http://www.saltycrane.com/blog/2008/01/how-to-capture-tab-key-press-event-with/

    and for wxPython - http://www.wxpython.org/docs/api/wx.KeyEvent-class.html and http://zetcode.com/wxpython/events/

提交回复
热议问题