Allows you to type morse code by closing your laptop lid.
- Ensure that your primary monitor is your built-in laptop monitor.
- Open the "Change what closing the lid does" setting (Control Panel\Hardware and Sound\Power Options\System Settings), you should be able to search for the setting
- Set "When I close the lid" to "Do nothing:"
- Run the script from PowerShell in administrative mode; if you still get permission errors try copying-and-pasting the whole thing into PowerShell.
- ctrl+C to exit