Last active
April 12, 2018 01:44
-
-
Save Geobert/c00859b285e085792c78 to your computer and use it in GitHub Desktop.
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
; puth this file somewhere and create a shortuct in C:\Users\<User>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\ | |
; so it starts with Windows | |
#singleinstance | |
#NoTrayIcon | |
#NoEnv | |
SendMode Input | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
Loop { | |
SetTitleMatchMode, 3 | |
WinWait, Lightroom - Secondary Display | |
;WinRestore | |
WinMove, 3840, 100 ; adjust this coordinates to suit the screen you want the preview to be | |
WinMaximize | |
WinWaitClose | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you for this! I just got a new computer with more display ports than I knew what to do with, but I set up a third monitor 1024x768 to the far right to run the audio metering when I'm doing audio work and found out that my Lightroom secondary screen only wanted to go to that monitor instead of my right 1920x1080 (I run the main screen on the left 1920x1080). Your script saved my 1024x768 monitor. Thanks!