Robotjs: Support clicks with key modifiers

Created on 3 Jan 2018  路  3Comments  路  Source: octalmage/robotjs


It would be helpful if the mouseClick() method could accept key modifiers.
For example, Ctrl+Shift+Click could be served with one request.

Most helpful comment

You could simply toggle Ctrl & Shift keys using http://robotjs.io/docs/syntax#keytogglekey-down-modifier

All 3 comments

You could simply toggle Ctrl & Shift keys using http://robotjs.io/docs/syntax#keytogglekey-down-modifier

You can write a callback function to do this with robot.keyToggle('right_shift', 'down').

I totally agree, but this would need to invoke more robotJS methods.
The issue I opened is not a bug, it's an enhancement request for sending only one call for multiple key and click combinations.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

IChocolateKapa picture IChocolateKapa  路  12Comments

ylh888 picture ylh888  路  3Comments

Multiply picture Multiply  路  6Comments

poojas2288 picture poojas2288  路  8Comments

hrastnik picture hrastnik  路  8Comments