Had a look before asking, but could not find anything close that was recently answered.
New to Javascript; is it possible to create a function that can trigger when a button is clicked so the keyboard shortcut CMD+SHIFT+4 is 'pressed'.
TLDR; I am trying to create a button with a onClick event, that when pressed will allow users to screenshot to clipboard.
I will then have another button to 'press' CMD+V to paste the screenshot.
Any help is appreciated! :)