2012-12-24, 22:37
Angelcry, I got to say thanks for your suggestion to the Autoit.
I know this is a year old from when you posted but it works great in WIndows 8.
I went ahead and made a bd.com in in there I put in:
@echo off
"C:\Program Files (x86)\CyberLink\PowerDVD12\Launcher-PowerDVD12.exe" (To be clear, Launcher-PowerDVD12.exe was created and compiled by AutoIt)
So when I put a bluray disc in, it loads Launcher-PowerDVD12.exe.
Inside the autoit script, it contains the following lines:
Run ( "C:\Program Files (x86)\CyberLink\PowerDVD12\PDVDLaunchPolicy.exe AUTOPLAY BD H:\" )
ProcessWaitClose ( "PDVDLaunchPolicy.exe" )
ProcessWaitClose ( "PowerDVD12.exe" )
ProcessWaitClose ( "PowerDVDCinema12.exe" )
WinSetState ( "XBMC", "", @SW_MAXIMIZE )
In the first line you see, xbmc loads PowerDVD Launch Policy executable then it says to autoplay the bluray disc on the H Drive that contains the bluray disc.
After I exit powerdvd, autoit waits until all processes are ended and it switches back to xbmc what is running in the background. No user interaction needed to go back to xbmc.
So when I build my new system. I'll have to:
1) Install XBMC
2) Copy XBMC folder contents to the new computer after XBMC is installed. Overwrite all files (As long as the program is the same version)
3) Install Autoit. Copy Autoit script.
4) Install PowerDVD 12 Ultra. Put Created compiled autoit Launcher-PowerDVD12.exe (that autoit compiled and created) into the powerdvd folder.
5) Make XBMC load on startup
6) Edit BD.rom and autoit script to reflect new drive letter on HTPC (going to build soon).
Seems simple enough.
Hope this helps others.
I know this is a year old from when you posted but it works great in WIndows 8.
I went ahead and made a bd.com in in there I put in:
@echo off
"C:\Program Files (x86)\CyberLink\PowerDVD12\Launcher-PowerDVD12.exe" (To be clear, Launcher-PowerDVD12.exe was created and compiled by AutoIt)
So when I put a bluray disc in, it loads Launcher-PowerDVD12.exe.
Inside the autoit script, it contains the following lines:
Run ( "C:\Program Files (x86)\CyberLink\PowerDVD12\PDVDLaunchPolicy.exe AUTOPLAY BD H:\" )
ProcessWaitClose ( "PDVDLaunchPolicy.exe" )
ProcessWaitClose ( "PowerDVD12.exe" )
ProcessWaitClose ( "PowerDVDCinema12.exe" )
WinSetState ( "XBMC", "", @SW_MAXIMIZE )
In the first line you see, xbmc loads PowerDVD Launch Policy executable then it says to autoplay the bluray disc on the H Drive that contains the bluray disc.
After I exit powerdvd, autoit waits until all processes are ended and it switches back to xbmc what is running in the background. No user interaction needed to go back to xbmc.
So when I build my new system. I'll have to:
1) Install XBMC
2) Copy XBMC folder contents to the new computer after XBMC is installed. Overwrite all files (As long as the program is the same version)
3) Install Autoit. Copy Autoit script.
4) Install PowerDVD 12 Ultra. Put Created compiled autoit Launcher-PowerDVD12.exe (that autoit compiled and created) into the powerdvd folder.
5) Make XBMC load on startup
6) Edit BD.rom and autoit script to reflect new drive letter on HTPC (going to build soon).
Seems simple enough.
Hope this helps others.