GithubHelp home page GithubHelp logo

tencentmeetinghelper's Introduction

TencentMeetingHelper

腾讯会议助手,自动签到、投票。

环境要求

  • Windows
  • 显示器的分辨率比例为 16:9 且分别率至少为 1920×1080

安装

前往Release,下载压缩包TencentMeetingHelper.7z并解压。 打开config.yaml,根据需要修改配置。最后双击TencentMeetingHelper.exe即可运行。

从源代码安装
  1. 环境要求:Python 3.6+

  2. Clone 本项目

git clone https://github.com/andywang425/TencentMeetingHelper.git
  1. 安装依赖
pip install -r requirements.txt
  1. 将配置文件样例config.example.yaml复制并重命名为config.yaml,根据需要修改配置。
copy config.example.yaml config.yaml | start config.yaml
  1. 运行
python main.py

使用说明

脚本通过 Win32 API、图像识别和键鼠操作来实现各项功能,所以需要让腾讯会议窗口显示在前台,且脚本在进行操作的时候不能乱动鼠标和键盘。

使用前请先进入会议并打开投票窗口,确保投票窗口,“xxx 邀请您使用签到”窗口(默认在右上角)和签到窗口(默认在屏幕中心)不会互相遮挡。

如果启用了自动投票功能,请将缩放(Windows 设置-系统-屏幕-缩放与布局)改为 125% 然后再打开腾讯会议。

如果启用了自动签到功能,请不要手动打开签到窗口,也不要在脚本打开签到窗口后拉伸签到窗口,否则脚本将无法正常运行。

功能介绍

自动投票

打开腾讯会议的投票窗口并将其放到合适的位置,脚本会根据设置自动参加投票。

已知问题

  • 目前仅支持只有一个问题的投票。如果遇到有多个问题的投票可能会反复进入、退出该投票,直到有新的投票出现。

自动签到

检测到“xxx 邀请您使用签到”窗口后脚本会点击“打开应用”按钮,然后在签到窗口中点击“点击签到”按钮。

已知问题

  • 有时签到窗口顶部会显示提示信息,这个提示可能会影响脚本运行,不过通常只会在腾讯会议更新后第一次打开签到窗口时显示。

更新计划

  • 支持多个问题的投票
  • 自动投票支持任意缩放倍数

许可证

TencentMeetingHelper 基于 MIT 协议开源。

tencentmeetinghelper's People

Contributors

andywang425 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

tencentmeetinghelper's Issues

点击签到报错

2022-11-29 14:29:40 DEBUG: 发现“xxx邀请您使用签到”
2022-11-29 14:29:46 ERROR: 未找到签到窗口!
Exception in thread signin:
Traceback (most recent call last):
File "threading.py", line 1038, in bootstrap_inner
File "threading.py", line 975, in run
File "main.py", line 243, in task_signin
File "main.py", line 118, in clickSigninButton
File "pyautogui_init
.py", line 598, in wrapper
File "pyautogui_init_.py", line 983, in click
File "pyautogui_init_.py", line 1509, in mouseMoveDrag
File "pyautogui_init
.py", line 1722, in failSafeCheck
pyautogui.FailSafeException: PyAutoGUI fail-safe triggered from mouse moving to a corner of the screen. To disable this fail-safe, set pyautogui.FAILSAFE to False. DISABLING FAIL-SAFE IS NOT RECOMMENDED.

能加个日志统计签到吗

如:在指定路径创建一个log.txt,内容:
2022.12.02,8:05;签到成功
2022.12.03,8:05;签到成功

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.