Skip to content

jromano743/create-auto-task

Repository files navigation

Create auto task

Create auto task is a set of scripts that save, format, and generate a python code using pyautogui to replicate a process. You can do any task just once and then have python code that replicates the same task.

Installation

  1. Clone this repository using:
git clone https://github.com/jromano743/create-auto-task.git
  1. Locate in the folder project and create a virtual environment.
cd create-auto-desk
virtualenv venv
/venv/Scripts/activate
  1. Install the requirements.
pip install -r requirements.txt

How to use

  1. Run the record.py file and do your tasks. Then press "esc" two times to stop record. The interactions.json file will be generated.

  2. With interaction.json file generated , run the generate_code.py file.

  3. The generated_file.py file will generate a new file with the name your given. That file will have the pyautogui code to replicate the task.

  4. In your generated code you can modify the duration between movements of mouse.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages