Skip to content
Snippets Groups Projects

autopaste.py

  • Clone with SSH
  • Clone with HTTPS
  • Embed
  • Share
    The snippet can be accessed without any authentication.
    Authored by Sydney Anne Erickson

    A Python script to automatically paste the password in your clipboard 3 seconds after exeuction.

    Edited
    autopaste.py 185 B
    #!/usr/bin/env python3
    # pip3 install pyperclip pyautogui
    
    import pyperclip
    import pyautogui
    import time
    
    password = pyperclip.waitForPaste()
    time.sleep(3)
    pyautogui.typewrite(password)
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment