An Electron Application which takes screenshot soon after its launch at every 2 second interval and saves it, and keeps the track of those screenshots in file.
- As soon as the program runs it starts displaying screen.
- At every 2 second it takes screenshot of the screen and saves it.
- It keeps tracks of all the screenshot in a file with its details.
npm start
or if using yarn
yarn start
- Get screen on the application.
- Take screenshot of the shared screen.
- Save it with time and date as name of that screenshot.
- Try to save it without any popup, as it takes every two seconds, there will be a lot of popups.
- Try to read/create file and append/write details about the file to it.
- Screenshots will be saved in
screenshot
folder. - Screenshots details will be saved in
screenshot_details.txt
file. - Screenshots will be saved after every 2 seconds.
All above details can be altered in preload.js