Post Reply

Forums -> UltraMon™ -> Restricting dual display programs to one monitor.
Monkey   2003-04-24 19:53
Hi,

I have two monitors which run:
Primary: 1600x1200.
Secondary: 1024x768.

I have a specific program which I use mostly which detects multiple monitors and stretchs itself across both monitors. When I hit maximise, also it stretches itself across both monitors. I am constantly manually resizing the program to my primary monitor in order to use the program effectivly. I would like to restrict the program and maximise it to my primary monitor only.

Is there a addon or a piece of software that can do that for me?

Cheers in advance,
Monkey.
Christian Studer   2003-04-25 09:57
Hi Monkey,

UltraMon can't change the behavior of the maximize button for this application, but you could use the Shortcuts feature or a custom script to position and size the application window.

Christian Studer - www.realtimesoft.com
Monkey   2003-04-25 10:33
Thanks Christian.

I think the shortcut method would have worked well if the main program wasn't called from a within a bat file. It correctly positions and stretches the dos window rather than the called program.

I think that a custom script will need to be created. How do you make custom scripts for Ultramon?

Cheers,
Monkey.
Christian Studer   2003-04-25 11:04
See UltraMon Help > Scripting for more on scripting.

I have uploaded a script which moves and resizes the foreground (active) window to fit the primary monitor: FitMonitor.zip.

To run the script, assign a hotkey to it by creating a new 'Run application or script' hotkey under Options > Hotkeys.

Christian Studer - www.realtimesoft.com
Monkey   2003-04-25 11:21
Thanks Christian! That script works very well.
Thanks for the help.

Cheers,

Monkey.
Forums -> UltraMon™ -> Restricting dual display programs to one monitor.

Post Reply