Nerdism
Random geek stuff I save for later reference. Maybe it’ll be useful for others, too. Who knows.

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

No Responses to “Move windows to main display AppleScript”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.