win_GUI.py 文件源码

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

项目:Automation-Framework-for-devices 作者: tok-gogogo 项目源码 文件源码
def app_Move(self,str_app):
        #tmp=(string.atoi(lb_dx),string.atoi(lb_dy))
        hwnd = win32gui.FindWindow(None, str_app)
        if hwnd < 1:
            hwnd = self.find_main_window(str_app)
        if hwnd>1:
            win32gui.MoveWindow(hwnd,0,0,self.wdx,self.wdy,1)
        else:
            return False
        return True
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号