Created
October 21, 2022 18:05
-
-
Save ayaysir/7514760620ff9f305fe253c78b4c250a 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
tell application "Google Chrome" to activate | |
-- (60*60*5)/5 = 3600 | |
repeat 100000 times | |
-- space bar double press | |
if application "Google Chrome" is running then | |
tell application "System Events" to key code 49 | |
delay 0.4 | |
tell application "System Events" to key code 53 | |
-- tell application "System Events" to click at {1088, 994} | |
-- tell application "System Events" to click at {1088, 994} | |
delay 2.8 | |
end if | |
end repeat | |
-- Start Running : cmd + r | |
-- End Running : cmd + . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment