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.
Works for windows, mac and linux
python3.x
pip
pip install -r requirements.txt
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 script
python3 GUI_script.py
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.
Thanks a lot for spending your time helping AutoType grow.
Thanks a lot! Keep rocking ๐ป
This project needs your shiny star โญ.
Don't forget to leave a star โญ๏ธ