Skip to content

Instantly share code, notes, and snippets.

@vigo
Last active August 29, 2015 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vigo/13290a299509a986282b to your computer and use it in GitHub Desktop.
Save vigo/13290a299509a986282b to your computer and use it in GitHub Desktop.
on run
tell application "Finder"
get bounds of window of desktop
set DesktopSize to bounds of window of desktop
set DesktopWidth to item 3 of DesktopSize
set DesktopHeight to item 4 of DesktopSize
end tell
tell application "App Store"
activate
set the bounds of the first window to {0, 0, DesktopWidth, DesktopHeight}
end tell
end run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment