Nicholas Ficara Nicholas Ficara -4 years ago 54
Python Question

In Python Tkinter, I have successfully made a keybind but it only works when I am clicked into the tkinter window.


In Python Tkinter, I have successfully made a keybind but it only
works when I am clicked into the tkinter window.


I want to be able to use the keybinds even when I am interacting with other programs even when they are full screen. (I am making an auto clicker and it is not possible to open the tkinter window and then click the key when you are mid game.)

Answer Source

You cannot do what you want with tkinter. Tkinter bindings only work within windows created by tkinter.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download