Skip to content

Instantly share code, notes, and snippets.

@mtimkovich
Last active September 11, 2017 21:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mtimkovich/ced5fd73098584d5915b1f04d10520df to your computer and use it in GitHub Desktop.
Save mtimkovich/ced5fd73098584d5915b1f04d10520df to your computer and use it in GitHub Desktop.
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