octalmage / robotjs

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

Mouse pointer doesn't work in locked screen of MacOS while using screen share app #734

Open avaidhyajc opened 1 year ago

avaidhyajc commented 1 year ago

I am developing a screen share app based on electron+webrtc. I use robotjs to control mouse movements for remote control. This works for user-context .

During first time bootup , when no user is logged in , at the logon screen , robotjs doesn't capture remote mouse movements.

Pls let me know if it's a robotjs issue or configuration/permission issues in MacBook.

Expected Behavior

Remote Mouse movements should work seamlessly with screen share app in Logon screen just like any other user-context windows

Current Behavior

Only in Logon screen , mouse movement fails

Possible Solution

Steps to Reproduce (for bugs)

1.Logout from all users in MAC

  1. Try to run the robotjs app in background for moving mouse cursor

Context

Webrtc based screen share app developed using electron+ robotjs

Your Environment