Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. set repeat_number to 0
  2. repeat
  3.     set theDesktop to POSIX path of (path to desktop as string)
  4.     set theCurrentDate to current date
  5.     set shellCommand to "/usr/sbin/screencapture \"" & theDesktop & "Screen Shot " & theCurrentDate & ".png\""
  6.     do shell script shellCommand
  7.     delay 3
  8.     set repeat_number to repeat_number + 1
  9.     if repeat_number ≥ 199 then
  10.         exit repeat
  11.     end if
  12. end repeat
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement