Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import time
- import sys
- import pyautogui
- __author__ = "Tem Tamre"
- __contact__ = "ttamre@ualberta.ca"
- def autohotkey():
- print("Autohotkey for Injustice 2 AI")
- seconds = int(input("Delay(s): "))
- while True:
- try:
- time.sleep(seconds)
- pyautogui.typewrite('\n')
- except:
- sys.exit(0)
- if __name__ == '__main__':
- autohotkey()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement