Last active
September 11, 2017 21:12
-
-
Save mtimkovich/ced5fd73098584d5915b1f04d10520df to your computer and use it in GitHub Desktop.
Type stuff in Overwatch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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