Created
November 12, 2022 22:05
-
-
Save sl5net/c853e93160a5c1958d355ead6f3fdc73 to your computer and use it in GitHub Desktop.
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
# its for 0ad helpers only 22-1112_2304-06 | |
# i use it as autoKey-script script | |
ac = window.get_active_class() | |
if "Pidgin.Pidgin" == ac: | |
c = clipboard.get_clipboard() | |
# c = "aa bb cc" # test string | |
keyboard.send_keys("!mute 1 day -r profanity<home><ctrl>+<right> ") # paste and move to playerName Position | |
keyboard.send_keys(c.split(" ", 1)[0]) # paste only the first word |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
update