Skip to content

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

31 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Example use case: automated data entry.

Example prompt 1: In the selected cell(s) of the sheet, input a 4x4 sample realistic data entry.

image

Example prompt 2: In this google doc, solve the question(s)

image

goal =
''' In the selected cell(s) of the sheet, input a 4x4 sample realistic data entry. '''

''' How to use:

  1. Install dependencies
  2. Add your Google/Gemini API key to env.py file
  3. Edit the above prompt "goal" variable to any request.
  4. Keep the window you want to automate as the second window behind the first one ex. google sheets behind VS code editor.

Description:

  1. On run, the script will hide the first window ex. vs code editor.
  2. After hiding, the second will be screenshotted and sent with the prompt "goal" to the AI.
  3. The AI will generate a list of steps to accomplish the goal.
  4. The script cleans & parses the AI response of pyautogui commands.
  5. Pyautogui typing is converted to MacOS applescript typing to avoid accidental modifier keys activation.
  6. The script executes the steps with an editable delay to allow for proper execution.

Note on Limitaions:

  1. The AI will do based on 1 automated screenshot so if the window changes it won't work well.
  2. You will not be able to multitask while the script is running since the keyboard will be in use. '''

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages