View Full Version : activate the play button in powerdvd

24.01.2008, 19:04
Hello i would like to activate the play button in my script after mouting iso and launching application?? Anyone have an idea???
Thanks for your response

25.01.2008, 05:02
I searched (http://www.google.com/search?hl=en&q=powerdvd+command+line+switches) for command line switches for PowerDVD and didn't find anything. So my conclusion is that you would have to simulate/send keystrokes to the application with a macro program such as AutoIt3 or use another DVD playback software which supports command line parameters.

Here is an example script I found from the first google result (http://www.google.com/search?hl=en&q=powerdvd+pause+autoit). The Send("{ENTER}") part seems to be the key to starting playback.

; start the DVD player full screened
Run("C:\Program Files\CyberLink\PowerDVD\PowerDVD.exe","",@SW_MAXIMIZE)

; if the app window is not up in 60 seconds - WinWait returns 0
; if the app window comes up before then - the script continues
If WinWait("PowerDVD","",60) = 0 Then
MsgBox(48, "Utter Failure", "DVD application has failed to start. Script will be terminated")
; optional msgbox here

; main loop
While 1
Send("{ENTER}"); "Enter" will start the movie - let it run for $secs

25.01.2008, 06:01
Alternatively, if you run the DVD playback program first (in this case, PowerDVD), then mount the image, it should detect the new "disc" inserted and autostart.

25.01.2008, 18:32
YOUR idea is much simpler Jito http://www.daemon-tools.cc/dtcc/images/icons/icon12.gif

25.01.2008, 19:51
Yeah, I'm a lazy guy, and prefer simple stuff. :D

26.01.2008, 18:01
thanks guys i'm a lazy guy too:D but in case of hddvd or blueray iso, the autostart doesn't works. I've tried the {enter} order in parameters but nothing.

27.01.2008, 12:15
The {enter} thing isn't a parameter for powerdvd its a script you would use in a macro program (a program that simulates mouse clicks or keyboard presses).