Skip to content

Commit

Permalink
Added script for sizing Safari for App Store screenshots
Browse files Browse the repository at this point in the history
  • Loading branch information
insin committed Jan 29, 2023
1 parent 58a31e5 commit 4b4869a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scripts/set-safari-screenshot-resolution.applescript
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
(*
Sets Safari dimensions for 2880 x 1800 px screenshots - including the drop shadow - at scale=2.
This only works when not connected to an external display.
*)
tell application "Safari"
activate
set bounds of window 1 to {0, 0, 1328, 788}
end tell

0 comments on commit 4b4869a

Please sign in to comment.