1
0

More than 1 year has passed since last update.

SyncTubeでみんなでチャットしながら足踏みオンライン散歩会ができるPGM

Last updated at Posted at 2022-09-20

SyncTubeでみんなでチャットしながら足踏みオンライン散歩会ができるPGM

SyncTubeでみんなでチャットしながら足踏みオンライン散歩会ができるPGMをpythonで作りました。
githubURL: https://github.com/NanjoMiyako/WalkingWithChats
スクリーンショット ![scnshot1.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/412430/1cebf126-9919-9575-91c7-ccf23238e2df.png) (github上にスクリーンショットがあります)
使い方
まずPGMにpytest9.pyに書かれている、g_ConsoleX, g_ConsoleYの部分を スクリーンショットの①の部分に合わせます

次にコマンドラインからpytest9.pyを以下のコマンドライン引数で呼び出します.

python pytest9.pyのURL 足踏み閾値%(ex:0.5) スクリーンショットの➁(まるに)のX座標 スクリーンショットの➁(まるに)のY座標

あとは足踏みで動いた瞬間に「散歩を開始しました」とチャットで自動入力し、
差分が一定以下になったときに「休憩中です」とチャットで自動入力します。


使用したサイト
SyncTube
参考サイト
Python〜pyautoguiで日本語入力する方法 - sagantaf
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0