Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
How to Open the Unity Window on Mac OS X on a 16:9 relationship (1280x720)
tell application "Unity" to activate -- needs to be in front
tell application "System Events" to tell application process "Unity"
get properties of window 1
set size of window 1 to {1280, 720}
on error errmess
log errmess
-- no window open
end try
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment