Skip to content

Instantly share code, notes, and snippets.

@wtsnz
Last active December 12, 2018 00:47
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 wtsnz/7269a1a5d7c5718d6bae0a5c1a589858 to your computer and use it in GitHub Desktop.
Save wtsnz/7269a1a5d7c5718d6bae0a5c1a589858 to your computer and use it in GitHub Desktop.
Sometimes after using DiffMerge with multiple monitor setups, it's positioned way up above the OSX menu bar and I'm unable to see the entire window. This small Apple Script snippet rescues me.
tell application "System Events" to tell application process "DiffMerge"
tell window 1
set {size, position} to {{400, 400}, {50, 50}}
end tell
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment