Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import pyautogui
- import time
- import clipboard # pip install clipboard
- from num2words import num2words
- time.sleep(3)
- # Delay to start typing
- initial_delay = 3.0 # Adjust this if necessary
- # Start typing message
- index = 460
- while True:
- version_word = num2words(index)
- message = f"cyborg destroyer mark {version_word} that is only defeated by a newer model"
- # Set message to clipboard
- clipboard.copy(message)
- # Move cursor to the input area (if necessary)
- # Example: pyautogui.click(x, y)
- # Paste the message
- pyautogui.hotkey('ctrl', 'v')
- # Press Enter to send the message
- pyautogui.press('enter')
- # Increment index
- index += 1
- # Wait for 2.5 seconds
- time.sleep(1)
- # Check if space is pressed to exit
- if pyautogui.press('space'):
- break
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement