tell application "System Events" to tell application process "Enjoy" get size of window 1 end tell tell application "System Events" to tell application process "Enjoy" set size of window 1 to {980, 720} end tell