windowsRecord
Contents:
windowsRecord(filePath)
Start a screen recording on Windows.
import { windowsRecord } from "@guidepup/record";
(async () => {
// Start the screen recording.
const stopRecording = windowsRecord("./recordings/screenRecording.mp4");
// ... perform some commands.
// Stop the screen recording.
stopRecording();
})();
Parameters:
filepath
string The file path to save the screen recording to.
Returns: Function A function to stop the screen recording.