Skip to content

Instantly share code, notes, and snippets.

@kapadia
Created September 15, 2015 22:02
Show Gist options
  • Save kapadia/c28f0a44f4a858e1c18c to your computer and use it in GitHub Desktop.
Save kapadia/c28f0a44f4a858e1c18c to your computer and use it in GitHub Desktop.
tell application "System Events"
tell process "Preview"
repeat with i from 1 to (count windows)
set position of window i to {0, 0}
end repeat
end tell
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment