For the sake of screen real estate I would like to tie two similar commands to a single button that can be alt-clicked or cmd-clicked for a different outcome.
I know the ScriptUI provides some options but I'm looking for a way to handle it in the panel itself without a pop-up.
I would like to know if it is possible to detect a modifier during a click event inside the panel and, if possible, how to handle it.
Thank you for any insight to the situation.
Regards,
Patrick Deen