From 4b4869a10517f0b7400fa448d8e1950ee6cecc1d Mon Sep 17 00:00:00 2001 From: Jonny Buchanan Date: Mon, 30 Jan 2023 09:48:53 +1000 Subject: [PATCH] Added script for sizing Safari for App Store screenshots --- scripts/set-safari-screenshot-resolution.applescript | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 scripts/set-safari-screenshot-resolution.applescript diff --git a/scripts/set-safari-screenshot-resolution.applescript b/scripts/set-safari-screenshot-resolution.applescript new file mode 100644 index 0000000..d1bce8c --- /dev/null +++ b/scripts/set-safari-screenshot-resolution.applescript @@ -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 \ No newline at end of file