I use this code to take screenshots, but it requires user to click once to window. I would like my script to click window once so it takes shot without user click.
I have tried various codes found from this forum, but nothing seems to work. Extra Suites is not compatible with my computer.
do shell script “screencapture -Wimxo " & quoted form of (”/Users/" & (system attribute “USER”) & “/Pictures/Shots/shot.png”)
–click once