The task runs the executable – recordZiggoChannel.exe – that was compiled from the original AutoIt script: With this setup, I can schedule the recording task in Windows Task Scheduler: It then closes OBS and the Windows Sandbox window. The AutoIt script starts recording in OBS – and stops it after the specified duration. OBS has been configured ahead of time to capture a window called Windows Sandbox as source. The script then runs OBS (feel free to replace with any other screen recording tool of which there are many). (feel free to substitute with whatever site you want to record video from).
How to record streaming videos tv#
This script runs the Windows Sandbox app, starts the Edge browser and loads the TV provider’s site. The task scheduled in Windows Task Scheduler runs the executable created from the AutoIt script. The final solution in this article looks as follows: In a follow up article I will try to find a solution for that situation (probably by running a script inside the Windows Sandbox). In this article, I will not realize that requirement: I will get to the point where a task can be scheduled in Windows Task Scheduler and this task will make a perfect recording of the intended video stream – but only if the computer is not in locked mode. Unfortunately this is the case when the task is run from a sleeping computer – one of my requirements. That is fine in general – except for when the script is executed with the computer in locked mode. The downside is that applications running inside the Sandbox are opaque to an AutoIt script running outside the Sandbox – this script cannot act directly on controls – only on positions. run a task at any time, even when my laptop is hibernatingĬapturing streaming video despite the overlay issue can be overcome by running the video inside Windows Sandbox.capture the correct window in the OBS recording session.