|Subramanya N 2008-10-29 15:21
I have dual monitor set-up.The secondary monitor is to be used for digital signage.Using the sample VBscript for detached monitor, I was able to to get Windows Media player open and play a video file in full screen mode.but the media player exits fullscreen mode whenever the mouse is clicked on the primary monitor. Any help would be appreciated.Thanks.The script is
Const SHOWSTATE_MAXIMISED = 3
Set indDisp = CreateObject("UltraMon.IndDisp")
procID = indDisp.DetachedApps.LaunchAndAdd("C:\wmplayer.exe /fullscreen /play C:\clock.avi",2)
Setwnd = CreateObject ("UltraMon.Window")
If wnd.GetAppMainWindow(procId, 0) = True Then
wnd.ShowState = SHOWSTATE_MAXIMIZED
MsgBox "Press OK to attach monitor2."
|Christian Studer 2008-10-30 10:43
Make sure you're using a recent version of Windows Media Player, earlier versions (6 if I remember correctly) wouldn't stay in fullscreen mode if they lost the focus.
Christian Studer - www.realtimesoft.com