WindowHandlers.py 文件源码

python
阅读 20 收藏 0 点赞 0 评论 0

项目:pytomatic 作者: N0K0 项目源码 文件源码
def get_desktop_stats(self):
        left = windll.user32.GetSystemMetrics(win32con.SM_XVIRTUALSCREEN)
        top = windll.user32.GetSystemMetrics(win32con.SM_YVIRTUALSCREEN)
        width = windll.user32.GetSystemMetrics(win32con.SM_CXVIRTUALSCREEN)
        height = windll.user32.GetSystemMetrics(win32con.SM_CYVIRTUALSCREEN)

        logging.debug("Desktop stats: Origo: {}\tSize: {}".format((left,top),(width,height)))
        return left,top,width,height
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号