/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.

Primary LanguagePythonMIT LicenseMIT

💻 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 💬.