Can Electron detect when a user takes a screenshot? [MacOS]


#1

My current application watches ~/Desktop for new jpegs with “Screen Shot” in the name and it’s worked fine until Mojave. The new Screenshot utility delays creating the jpeg for a few seconds and sorta jams up my whole approach.

I’ve not been able to Google this with much success because everyone wants to use electron to TAKE screenshots. I want to DETECT when a user takes a screenshot natively.

Kev