title: How to create new screenshots with each new loop?
body: <p>I'm trying to run a macro that takes a new screenshot with each run of the loop. Each time it just rewrites the new loop to the old screenshot file, so I only end up with 1 file that has been rewritten many times instead of many tiles.</p>
  
  <p>I've tried using <code>pyautogui.hotkey('command', 'shift', '3')</code>, but this doesn't seem to work.</p>
  
  <pre><code>pyautogui.click(154, 772)
  time.sleep(2)
  while LoopA &lt; 500:
      from subprocess import call
      call(["screencapture", "screenshot.jpg"])
      time.sleep(2)
      pyautogui.hotkey('command', 'w')
  print("Screenshots of all files completed")
  </code></pre>
  
  <p>Expected results are to create a new file with each run of the loop instead of rewriting the old one.</p>