1

I want to do perform a mouse click while holding down the shift key on Mac.

I tried the following:

robot.keyToggle('shift', 'down');
robot.mouseClick();

However it doesn't work. The mouseClick() registers as a click with holding down shift.

How do I achieve a shift click in robotjs?

Valachio
  • 1,025
  • 2
  • 18
  • 40

0 Answers0