xore Posted December 3, 2022 Share Posted December 3, 2022 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. Quote Link to comment Share on other sites More sharing options...
Chris Posted December 3, 2022 Share Posted December 3, 2022 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 2 Quote Link to comment Share on other sites More sharing options...