Created
December 28, 2014 14:02
-
-
Save tSU-RooT/f87cc91a6e7eb1bb37e6 to your computer and use it in GitHub Desktop.
5分ごとにF2を押してマイクラでスクショを撮る
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
delay 10 | |
tell application "System Events" | |
set pList to bundle identifier of every process whose visible is true | |
if "com.Mojang Specifications.Minecraft.Minecraft" is in pList and "com.apple.javajdk16.cmd" is in pList then | |
repeat | |
if "com.Mojang Specifications.Minecraft.Minecraft" is in pList and "com.apple.javajdk16.cmd" is in pList then | |
key code 120 | |
end if | |
delay 60 * 5 | |
set pList to bundle identifier of every process whose visible is true | |
end repeat | |
else | |
log "Abort" | |
end if | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment