set keyboard shortcut to open text button inside screenshot markup
0
votes
0
answers
45
views
trying to enable it so that when i press t inside a screenshot markup, the text button is clicked
here's my working script:
tell application "System Events" to click button 2 of window "Screen Shot" of process "screencaptureui"
just need to activate the shortcut at the right time, and deactivate it while typing inside the textbox obviously..

Asked by Ishvara
(75 rep)
Jul 28, 2021, 08:09 PM
Last activity: Jul 28, 2021, 11:18 PM
Last activity: Jul 28, 2021, 11:18 PM