D
D
DimaD0106d2021-07-04 18:36:28
Python
DimaD0106d, 2021-07-04 18:36:28

How to bind a clicker to one window?

import keyboard
import pyautogui as auto
import pyglet
import time
def s():
    while not keyboard.is_pressed('t'):
        auto.tripleClick( button = 'left' )
keyboard.add_hotkey('ctrl + 2', s)
input()


How can I make it work only in the game? That is, I can turn off the game to do anything on my computer, well, the clicker will work in the game, how to do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
lil.fxrrx, 2021-07-04
@mxrdxfxrrx

How to bind python script to game window?
everything is written here.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question