SkillAgentSearch skills...

Autotype

Autotype on websites that have copy-paste disabled like Moodle, HackerEarth contest etc.

Install / Use

/learn @tushar5526/Autotype
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Autotype 🖊

A quick and small python script that helps you autotype on websites that have copy paste disabled like Moodle, HackerEarth contests etc as it is difficult to efficiently debug your code on an online compiler.

Say Thanks! GitHub issues GitHub forks GitHub stars GitHub license Open Source Love svg1 PRs Welcome contributions welcome GitHub contributors <br>

Works for windows, mac and linux

<img src="https://i.imgur.com/pUfYwD0.gif">

Pre-requisites

python3.9.x pip

Development Setup

  • Create a new virtual environment using pipenv
pip install pipenv --user

# create venv and install dependencies from Pipfile
pipenv install
  • Activate the environment
pipenv shell

# check if activated
pip -V

pip install -r requirements.txt
  • For Linux

For Ubuntu or other distros with Apt:

sudo apt-get install python3-tk

For Fedora:

sudo dnf install python3-tkinter

For Arch Based

sudo pacman -S tk

  • Run it as CLI app

Provide the path of the file to be autotyped and the delay time through teminal/shell.

python3 command_line_script --path filePath --delay delay_before_typing

Run the GUI if you are not familiar with CLI apps.

  • Run the script python3 GUI_script.py

    <img src="https://i.imgur.com/QhDjIqe.jpeg">
  • You can simply type your code in the textbox , enter the time delay and click the Start Typing button.The script will then type your code for you.

    <img src="https://i.imgur.com/3ysBzIT.gif">
  • If your code is in a file , then leave the textbox blank , enter the time delay and click Start Typing button.A file exploror prompt will open asking you to select the file.Simply select your file and Done! Autotype will type your code for you.

    <img src="https://imgur.com/SOauxRx.gif">
  • There are two themes in the GUI Script: Dark and Light. By clicking the toggle in the bottom left corner of the window, you can switch between the two.

    <img src="https://imgur.com/NjLfWcL.gif)">

Run it as follows if you are not familiar with CLI apps.

Put the text inside code in Simulator/simulate_keyboard.py as follows

Line 13
code = """
    #include<bits/stdc++.h>
    {
        .
        .
        .
    }
"""
# Make sure to use triple quotes as it will preserve the code format.
  • Run the script python3 Simulator/simulate_keyboard.py
  • The script will start typing after 3s (wait or delay time can be tuned)
  • After running the script click on the window to move your cursor wherever you want to auto-type.
<hr>

💪 Thanks to all Wonderful Contributors

Thanks a lot for spending your time helping AutoType grow. Thanks a lot! Keep rocking 🍻

Contributors

🙏 Support++

This project needs your shiny star ⭐. Don't forget to leave a star ⭐️

forthebadge made-with-python forthebadge

View on GitHub
GitHub Stars44
CategoryDevelopment
Updated12h ago
Forks26

Languages

Python

Security Score

95/100

Audited on Mar 31, 2026

No findings