Skip to content

Instantly share code, notes, and snippets.

@milligramme
Created February 16, 2017 10:45
Show Gist options
  • Save milligramme/23244d16c8eb18eb1ca0eef038be5d3f to your computer and use it in GitHub Desktop.
Save milligramme/23244d16c8eb18eb1ca0eef038be5d3f to your computer and use it in GitHub Desktop.
-- rescue untouchable application frame
tell application "Adobe InDesign CC"
set rescue_bound to {32, 0, 400, 400}
if not use application frame of general preferences then
set use application frame of general preferences to true
end if
if not exists active window then
make new document
end if
set properties of active window to {bounds: rescue_bound}
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment