Capture command P to run custom printing script
Hi, I'm having a hard time figuring out how to use get (triggerModifierKeys) etc. to do this.
I just want to be able to capture when someone does the keyboard shortcut to print (on either a Mac or PC) and then run my own script to print a specific report depending on which layout they are on. Can someone show me some actual code they use to do this?