Auto Typing Bot Python GUI – FuzzuTech | Auto Typer Using Tkinter + PyAutoGUI

 Demo :


Click Video πŸ‘‡πŸ‘‡πŸ‘‡























Code :


import tkinter as tk

from tkinter import ttk

import pyautogui

import threading

import time


# ✅ Disabling PyAutoGUI fail-safe (Only if you're confident)

pyautogui.FAILSAFE = False


class AutoTyperApp:

    def __init__(self, root):

        self.root = root

        self.root.title("Auto Typing Bot")

        self.root.geometry("400x300")

        self.root.configure(bg="#1e1e1e")

        self.typing = False


        self.label = tk.Label(root, text="Enter Text To Type:", fg="white", bg="#1e1e1e", font=("Arial", 12))

        self.label.pack(pady=10)


        self.entry = tk.Text(root, height=5, width=40, font=("Arial", 11), bg="#2d2d2d", fg="white", insertbackground="white")

        self.entry.insert("1.0", "Lorem ipsum dolor sit amet, consectetur adipiscing elit.")

        self.entry.pack(pady=5)


        self.delay_label = tk.Label(root, text="Delay (ms):", fg="white", bg="#1e1e1e", font=("Arial", 12))

        self.delay_label.pack(pady=(15, 0))


        self.delay_slider = ttk.Scale(root, from_=100, to=2000, orient="horizontal")

        self.delay_slider.set(500)

        self.delay_slider.pack(pady=5)


        self.start_btn = tk.Button(root, text="Start", command=self.start_typing, bg="#00cc66", fg="white", font=("Arial", 12, "bold"))

        self.start_btn.pack(pady=10)


        self.stop_btn = tk.Button(root, text="Stop", command=self.stop_typing, bg="#ff3333", fg="white", font=("Arial", 12, "bold"))

        self.stop_btn.pack(pady=5)


    def start_typing(self):

        self.typing = True

        text = self.entry.get("1.0", "end-1c")

        delay = int(self.delay_slider.get()) / 1000.0


        def type_loop():

            time.sleep(3)  # give time to click into the field

            while self.typing:

                pyautogui.typewrite(text)

                pyautogui.press("enter")

                time.sleep(delay)


        threading.Thread(target=type_loop, daemon=True).start()


    def stop_typing(self):

        self.typing = False


if __name__ == "__main__":

    root = tk.Tk()

    app = AutoTyperApp(root)

    root.mainloop()

Comments

Popular posts from this blog

πŸš€ Simple Login & Registration System in Python Tkinter πŸ“±

πŸ”₯ Advanced MP3 Music Player in Python | CustomTkinter + Pygame | Free Source Code

πŸš€ Create a Python Screen Recorder with Audio (Complete Code)