Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there a way to create a desktop shortcut that opens a program at a specific location on the desktop? (assuming the program is either less than full screen or there are multiple monitors)

share|improve this question

4 Answers 4

up vote 1 down vote accepted

For applications that save their location in the registry this can be accomplished by changing those registry values before launching the application.

As an example the following batch file opens Notepad at a specific size and location relative to the primary monitor.

@echo off
reg ADD "HKCU\Software\Microsoft\Notepad" /v iWindowPosDX /t REG_DWORD /d 800 /f
reg ADD "HKCU\Software\Microsoft\Notepad" /v iWindowPosDY /t REG_DWORD /d 400 /f
reg ADD "HKCU\Software\Microsoft\Notepad" /v iWindowPosX /t REG_DWORD /d 50 /f
reg ADD "HKCU\Software\Microsoft\Notepad" /v iWindowPosY /t REG_DWORD /d 100 /f
start Notepad
share|improve this answer

open a program at a specific location on the desktop

This can be achieved with window management. Apply rules to any program window and specify size, location, transparency, etc.

Eusing's Auto Window Manager is a nice freebie, Actual Window Manager offers even more sophistication but it ain't free (for me, Actual Window Manager is a "must have", even more so with a multi-monitor setup), both programs work with Windows 7.

share|improve this answer

The version of UltraMon that I used on XP made this possible - haven't tried it on 7 tho.

share|improve this answer

In general: no. It is up to each application to remember its own layout.

(Some applications could provide some kind of mechanisms -- as console mode shortcuts do -- to specify position, but that is unusual.)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.