Jump to content

Taking screenshots directly from a bot


Recommended Posts

Posted
17 minutes ago, xore said:

I was reading this post about taking screenshot directly from the bot, but when I was trying to capture it, I was getting awt permission blocked error: 

Blocked permission: ("java.awt.AWTPermission" "readDisplayPixels")

I'm not that confident with Java or with permissions. Is it a bug I can fix? Thanks.

Use the Utilities.takeScreenshot();

https://osbot.org/api/org/osbot/rs07/api/util/Utilities.html

  • Like 2

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...