系统模块
复制 / 粘贴
调用系统剪贴板的复制粘贴功能
>>> from pyhutool.system import Clipboard
>>> Clipboard.copy('hello world')
>>> Clipboard.paste() # hello world
进程相关函数
>>> from pyhutool.system import Process
>>> Process.getProcessDetail('idea.exe')
窗口相关函数
>>> from pyhutool.system import Window
>>> Window.getWindowTitle()
>>> Window.getActiveWindowTitle()
系统相关函数
获取系统信息
>>> System.info()
获取当前屏幕分辨率
>>> System.metrics()
打开终端
>>> System.openTerminal()
Get the number of monitors
>>> System.cmonitorsCount()
检查当前输入法是否为英文
>>> System.keyboardLangIsEN()