Post Reply

Forums -> UltraMon™ -> Feature addition: Have taskbar switch when primary monitor is changed
Ilya Brown   2002-06-25 10:50
Say you have two monitors. Taskbar with Start menu is on monitor 2, monitor 1 is extended desktop to left.

Switch primary desktop to be monitor 1. Now all apps open in monitor 1, but the Start menu and taskbar is still shown on monitor 2. Would be nice if this moved to monitor 1.

Say you disable extended monitors. Now the taskbar is moved to monitor 1. But when you re-enable extended monitors, the taskbar is not returned to monitor 2. It's just that it seems to be inconsistent.

Would be nice to have the taskbar move to the monitor that is set to primary. For my scenario, I use a laptop. When I dock it, I want my 21" CRT to be the primary monitor with the Start menu, etc. But when I undock it, I want the task bar and everything to return to the laptop LCD. Right now I have to set the CRT to primary after docking, and then drag the taskbar to that monitor.
Christian Studer   2002-06-25 12:08
Thanks for your suggestions.

The issue with the Windows taskbar not being restored to its original position after re-enabling secondary monitors seems to be a bug, I'll try to fix this for the next release.

The docking/undocking scenario would probably be best addressed with a custom script, let me know if you are interested in this. It is possible to change the primary monitor and move the Windows taskbar using UltraMon scripting.

I'll consider adding an option to always keep the Windows taskbar on the primary monitor (and change the position of the UltraMon taskbar if necessary).

Christian Studer - www.realtimesoft.com
Ilya Brown   2002-06-26 06:22
Thanks for the reply. I used scripting to move the windows taskbar when docked/undocked and to switch the primary/secondary monitors. However, I'm having trouble starting/stopping the smart taskbar from scripting. How do you access the smart taskbar to start/stop it via scripting?
Christian Studer   2002-06-26 07:15
Starting the Smart Taskbar:

Set shell = CreateObject("WScript.Shell")
shell.Run """C:\Program Files\UltraMon\UltraMonTaskbar.exe"""


Stopping the Smart Taskbar:

there is currently no interface for this, but if you only use a single UltraMon taskbar there is a workaround:

Set shell = CreateObject("WScript.Shell")
shell.AppActivate "UltraMon Taskbar"
shell.SendKeys "%{F4}"


I'll add a /stop command-line argument to the next release of UltraMonTaskbar.exe.

Christian Studer - www.realtimesoft.com
Ilya Brown   2002-06-26 07:30
You are awesome. Thanks man.
Forums -> UltraMon™ -> Feature addition: Have taskbar switch when primary monitor is changed

Post Reply