2

I'm using Autopy on osx 10.7.4 and everything in the module works except for the capture_screen method. Whenever I use it to capture the screen the image it saves is just completely black. Why would this be?

Vasily Ryabov
  • 9,386
  • 6
  • 25
  • 78
user36026
  • 21
  • 1

1 Answers1

2

Known bug: https://github.com/msanders/autopy/issues/32

Instead of autopy, you can just use the screencapture OS X utility through os.system:

os.system("screencapture foo.png")
nneonneo
  • 171,345
  • 36
  • 312
  • 383