macOS: Empty screen with screen capture-related buttons --- allow Prefs -> Sec&Priv -> Screen Recording
**** problem
just double-clicking the jar does not reveal an option to allow screen recording
problem is tracked on GitHub: https:/
******************* workaround
--- start IDE once in a Terminal window using
java -jar <path-to>
--- use the capture button
... and get the blank screen
--- close IDE
--- in Preferences -> Security&Privacy -> Privacy allow ScreenRecording for Terminal
--- start IDE from Terminal again - capture should work now
-------
Sikuli Version: 2.0.4-2020-
Machine Version: Mac10.16
Java Version: Java11(64)11.0.9+11
When I click on buttons that involve screen-capture functionality e.g. Take Screenshot (cmd+shift+2), Region... my desktop gets cleared of any open windows (leaving just the background image) meaning I cannot capture screenshots of the desired application.
I've searched the internet for similar issues, to no avail. Any help is appreciated!
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Sikuli Edit question
- Assignee:
- No assignee Edit question
- Last query:
- 2020-12-24
- Last reply:
- 2021-01-07
Nick Hutchinson (hutcni) said : | #1 |
"Preferences -> Security&Privacy -> Privacy allow ScreenRecording for java" didn't work for me as the option didn't appear.
Do I need to add a new application manually to the permissions? (by adding the java executable?)
RaiMan (raimund-hocke) said : | #2 |
see workaround.
The general issue is tracked on GitHub