Delayed Screen Captures in PowerShell
Monday, 18 January 2010
Here’s one that’s short and sweet. A lot of programs exist for the sole purpose of taking a screen shot after a certain amount of time. For example, delay for 10 seconds before taking a screen shot so that you have the time to open some menus.
This is incredibly simple with PowerShell:
Add-Type -Assembly System.Windows.Forms
## Capture the entire screen
## Capture the current window