Download setprimon 0.2
setprimon is a utility to change your primary monitor. It can optionally
launch a program after changing, and optionally change back after a specified
number of seconds or after the program finishes running. To figure out your
display numbers, open up Windows' Display Settings, and click Identify Monitors.
For help, run it with no parameters (from a command prompt).
I wrote it in order to get XBMC Media Center to run on my TV, which is display
number 2. I created a shortcut which runs:
setprimon.exe --display 2 --seconds 10 "C:\Program Files\XBMC\XBMC.exe" -fs -p
That makes my TV the primary display, runs XBMC, and gives it 10 seconds to
start up before changing back. If I left out the "--seconds 10" parameter, it
would change back after XBMC exited.
setprimon requires the .NET Framework Version 2.0.
setprimon uses NDesk.Options: http://www.ndesk.org/Options
Send any comments or questions to: firstname.lastname@example.org
Version 0.2 - 2009-08-16 - Fixed unwanted change in refresh rate
Version 0.1 - 2009-05-31 - Initial release
back to tools