In my old Extendscript/CEP Panels I always used “keyboardState” to add a secondary behavior to my buttons. For example, when a modifier key like shift is pressed while clicking on the button a different function is called:
Thanks for pointing that out. Unfortunately I have no Idea how I can implement that in a similar way as I did with CEP. Any chance you can point me in the right direction?
Oh and by the way, ctrl and meta (command on mac) are also detected on my machine (PS 23.0.0) …?!
Hi AnthonyK, thank you so much! It works perfectly. I simply messed up the syntax here, so all my tries failed. Thanks for pointing me in the right direction