Last active
December 12, 2018 00:47
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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