puppetrader_v0.3.5.py 文件源码

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

项目:puppet 作者: Raytone-D 项目源码 文件源码
def finder():
    """ ????????????????? """

    team = set()
    buff = ctypes.create_unicode_buffer(32)

    @ctypes.WINFUNCTYPE(ctypes.wintypes.BOOL, ctypes.wintypes.HWND, ctypes.wintypes.LPARAM)
    def check(hwnd, extra):
        if op.IsWindowVisible(hwnd):
            op.GetWindowTextW(hwnd, buff, 32)
            if '????' in buff.value:
                team.add(hwnd)
        return 1
    op.EnumWindows(check, 0)

    return {unity(main) for main in team if team}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号