Last active
November 1, 2020 09:37
-
-
Save krsntn/35fae1c2ceef213745004544e74bc117 to your computer and use it in GitHub Desktop.
an AppleScript to spam on chat
This file contains hidden or 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
| delay 2 | |
| property currentCount : 1 | |
| set the clipboard to "input message" | |
| repeat 100 times | |
| tell application "System Events" | |
| -- keystroke currentCount | |
| -- keystroke ". " | |
| keystroke "v" using command down | |
| keystroke return | |
| set currentCount to currentCount + 1 | |
| -- delay 0.1 | |
| end tell | |
| end repeat | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment