Detect "Shift" Click?

Is it possible to make a differentiation on the click of a button/object between a normal click vs. a “shift” click or a “right” click?

Thanks,
Lee

Lots of ‘goodies’ in Method editor under Application.

//get the last key modifiers of last action (shift = 1,ctrl = 2,meta = 4,alt = 8 )
var m = application.getLastKeyModifiers();
if ( (m & 1) == 1)
{
//do shift action
}

Regards

Graham Greensall
Worxinfo Ltd

grahamg:
Lots of ‘goodies’ in Method editor under Application.

//get the last key modifiers of last action (shift = 1,ctrl = 2,meta = 4,alt = 8 )
var m = application.getLastKeyModifiers();
if ( (m & 1) == 1)
{
//do shift action
}

Regards

Graham Greensall
Worxinfo Ltd

Thanks Graham!

Regards,
Lee