Move windows to main display AppleScript
This script is useful if you connect your laptop to an external monitor. It will move all windows from your laptop to your “main display”, then dim the laptop screen to 0 brightness.
Note: Change the following to match your main display:
set screen_width to 1440
set screen_height to 900
Here is the AppleScript.
Advertisement