Post Reply

Forums -> UltraMon™ -> MirrorMon
Dom   2017-01-26 04:38
Hi,

How to activate by script the Mirror Mouse Pointer?

Hi have this

Const MONITOR = 1 'number of the monitor that should be mirrored
Const MIRRORMON_EXE = "%ProgramFiles%\UltraMon\MirrorMon.exe" 'location of MirrorMon.exe
Const POSITION = "1000,100" 'position (x and y coordinates) of the MirrorMon window
Const SIZE = "900,650" 'size (width and height) of the MirrorMon window
Const OPTIONS = "" 'options for MirrorMon window: m = maximized, f = fullscreen
Const ZOOM = "46" 'zoom factor in percent

Set sys = CreateObject("UltraMon.System")
Set sh = CreateObject("WScript.Shell")
Set mon = sys.Monitors(CLng(MONITOR) - 1)
cmd = """" & MIRRORMON_EXE & """ /s 1 " & mon.HMonitor & " /w " & POSITION & "," & SIZE & "," & OPTIONS & " /z " & ZOOM
sh.Run cmd
Christian Studer   2017-01-26 18:01
That's not supported directly as there is no command line option for this, but you could set this in the registry, just add the following code to the MirrorMon script above the last line:

sh.RegWrite "HKEY_CURRENT_USER\SOFTWARE\Realtime Soft\UltraMon\Mirroring Legacy\Mirror Mouse Pointer", 1, "REG_DWORD"

Christian Studer - www.realtimesoft.com
Forums -> UltraMon™ -> MirrorMon

Post Reply