Home  >  Q&A  >  body text

python - 如何给没有快捷键的软件设置快捷键?(windows)

最近用mapgis 6.7软件画图,这个软件的命令很少,不像cad一样每一个操作都可以命令操作。
正好最近研究了一下Python,我在想,有没有可能通过Python编一个脚本,给软件的按钮设置快捷键?思路如何?

P.S windows下的软件

怪我咯怪我咯2709 days ago543

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-04-17 17:34:58

    Currently, the only Python I know about in this area is pyautogui, which can easily perform GUI operations. However, there are still many missing functions and inconveniences in use. The only one that does well in this area is AutoItAutoHotKey domestically produced buttons. Wizards can also be used, but simulating GUI operations is inherently a very inefficient method. You have to invest a lot of time in dealing with the logic of different interface situations. Unless it is used in large quantities (such as plug-ins) or is very necessary, there is no need at all. It is necessary to do this.

    reply
    0
  • Cancelreply