INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: When autolaunching PowerDVD from MC19 sometimes PDVD fails to open  (Read 1085 times)

beanboy

  • Member
  • *
  • Posts: 3

I use PDVD as an external player launched from within MC19 to watch blu rays so I can see their full menus.

Often times when I launch a blu ray MC19 will exit like it should, but then PDVD fails to load (nothing happens...Im just left staring at Windows Desktop).  Unsure if this is an autohotkey script problem, a PDVD problem (which I doubt), or a MC19 problem.

My autohotkey script is below if anyone cares to look through it (its obviously a modified script I found on the forums)


; --------------------------------------------------------
; The following script will detect if a 3D BD mounted and use Total Media Theatre starts up
; --------------------------------------------------------

;#NoTrayIcon
#Persistent
#SingleInstance, Force

WM_DEVICECHANGE( wParam, lParam )
  {
  P := lParam
  If ( wParam = 32768 AND *(lParam+4) = 2)
    {
    Drv := Chr(65+ LN(*(P+12)+(*(P+13)<<8)+(*(P+14)<<16)+(*(P+15)<<24))/LN(2))
    IfExist, %Drv%:\BDMV\STREAM\
      {
      run MC19.exe /close
;      run "C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /enable ; You can enable this cmd if needed by removing the first ";"
;      run "C:\Program Files (x86)\ArcSoft\TotalMedia Theatre 6\uMCEPlayer6.exe" ; You can change this to suit your player requirements
      }
    }
  }
OnMessage(0x219, "WM_DEVICECHANGE")
Return

#IfWinExist CyberLink PowerDVD
    Media_Stop::  ; This is the STOP button (Media_Stop) - you can change to suit your requirments
    Send {Media_Stop}
    WinClose

;    IfExist, %Drv%:\BDMV\STREAM\SSIF ; Checks to see if it is a 3D BD and then optionally turn off 3d Mode
;      {
;      MsgBox, This is a 3D BD
;      Run "C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /disable
;      }

    Run "C:\Program Files (x86)\J River\Media Center 19\Media Center 19.exe"
Return
Logged
Pages: [1]   Go Up