This is a working example of how to record screen with newest Monte Media Screenrecorder.
Was tested on Mac only.
You need Java >= 17.
-
In IntelliJ run the main method in class
Screencorder.NOTE: You need to first select its module as a Java Module in Module Settings > Modules > choose the module > Dependencies > check all modules from
module-info.java. If something does not work remove the IntelliJ caches system directory.The code is run, the movie is recorded.
-
Run
ScreenRecordingTestin IntelliJ.Or using Maven:
mvn clean test