Home » Questions » Computers [ Ask a new question ]

Creating Shortcut that opens program at a specific desktop location

Creating Shortcut that opens program at a specific desktop location

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)

Asked by: Guest | Views: 33
Total answers/comments: 2
Guest [Entry]

"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"
Guest [Entry]

"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."