Skip to content

Instantly share code, notes, and snippets.

@mtimkovich

mtimkovich/tiltcontrols.py

Last active Sep 11, 2017
Embed
What would you like to do?
Type stuff in Overwatch
#!/usr/bin/python
import argparse
from autopy3 import key
parser = argparse.ArgumentParser(description='Type garbage in chat')
parser.add_argument('msg', nargs='+', help='message to type')
args = parser.parse_args()
key.tap(key.K_RETURN)
key.type_string(' '.join(args.msg))
key.tap(key.K_RETURN)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment