octalmage / robotjs

Node.js Desktop Automation.
http://robotjs.io
MIT License
12.38k stars 961 forks source link

How to make screen of visible window on macos? #742

Closed evoytenkoapps closed 1 year ago

evoytenkoapps commented 1 year ago

How to make screen of visible window on macos? i open ide and run code but robotjs does not make an ide screen, it makes another screen, the one that is orange not grey with webstorm How to fix it? I think it has something to do with work macos

wrong

expected Снимок экрана 2023-05-29 в 09 58 27
s1hofmann commented 1 year ago

@evoytenkoapps Same root cause as with https://github.com/nut-tree/nut.js/issues/469

You’ll have to give your process screen recording permissions

evoytenkoapps commented 1 year ago

yea. you a right. i give permisions for screen recording to webstorm, and now its ok.

Снимок экрана 2023-06-05 в 22 30 06