Automated screen capture on second monitor

Joined
Oct 2, 2020
Messages
1
Reaction score
0
Hi all

I have the code to be able to take timed screenshots but this only captures my main screen.
What I'd like to do is take captures of my second screen (wacom).

Any help would be greatly appreciated.

thanks

___________________

set dFolder to "~/Desktop/screencapture/"

do shell script ("mkdir -p " & dFolder)

set i to 0
repeat 960 times
do shell script ("screencapture " & dFolder & "frame-" & i & ".png")
delay 30 -- Wait for 30 seconds.
set i to i + 1
end repeat
___________________
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top