chaudharydeepanshu / Code-Typing-Automation

A Python script to simulate the typing process. It also has options to remove indentation, skip closing braces, and remove extra code at the end of entered code, which might be helpful when typing code into an IDE or text editor.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ’» Code-Typing-Automation

This Python script uses the PyAutoGUI library to simulate typing code into the currently open window. This script also has options to remove indentation, skip closing braces, and remove extra code at the end of entered code, which might be helpful when typing code into an IDE or text editor.

πŸŽ‰ Features

  • πŸ”₯ REMOVE_INDENTATION: Removes indentation from the code block.
  • πŸ’₯ SKIP_CLOSING_BRACKETS: Skips over closing brackets when being typed into the active window.
  • πŸ—‘οΈ DELETE_AFTER_END: Deletes everything after the typed code.

πŸ“‹ Requirements

πŸš€ Usage

  1. πŸ’Ύ Clone the repository to your device.
  2. πŸ“¦ Install the required packages.
  3. ✏️ Edit the CODE variable with the code you want to type.
  4. πŸ› οΈ Adjust the settings as per your requirement.
  5. πŸš€ Run the script using the following command python code_auto_typer.py

⚠️ Note

  • Use this script with caution; if improperly used, it may result in undesirable actions on your system.
  • Before using the script on your primary system, it is always a good idea to test it in a virtual environment or on a different device.

🀝 Contributing

Feel free to contribute to this project by submitting a pull request πŸ™Œ. Any suggestions or bug reports are also welcome πŸ’¬.

About

A Python script to simulate the typing process. It also has options to remove indentation, skip closing braces, and remove extra code at the end of entered code, which might be helpful when typing code into an IDE or text editor.

License:MIT License


Languages

Language:Python 100.0%