You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constrobot=require('robotjs');setTimeout(()=>{constmouse=robot.getMousePos();// Get pixel color in hex format.consthex=robot.getPixelColor(mouse.x,mouse.y);console.log(`#${hex} at x:${mouse.x} y:${mouse.y}`);},1000);
I get modal message (dialog, popup):
But when I try to do it in [email protected]. Just nothing. No errors. No modals to ask access permission. Just not work.
Possible Solution
I think need to add to documentation: "how setup electron".
Expected Behavior
When I run node script:
I get modal message (dialog, popup):
But when I try to do it in [email protected]. Just nothing. No errors. No modals to ask access permission. Just not work.
Possible Solution
I think need to add to documentation: "how setup electron".
For example here: http://robotjs.io/docs/electron
Context
I would like add paste event to my electron app in other apps;
Your Environment
The text was updated successfully, but these errors were encountered: