Announcement

Collapse
No announcement yet.

activate the play button in powerdvd

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Underheaven
    replied
    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).

    Leave a comment:


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

    Leave a comment:


  • Jito463
    replied
    Yeah, I'm a lazy guy, and prefer simple stuff.

    Leave a comment:


  • Underheaven
    replied
    Re: activate the play button in powerdvd

    YOUR idea is much simpler Jito

    Leave a comment:


  • Jito463
    replied
    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.

    Leave a comment:


  • Underheaven
    replied
    I searched 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. The Send("{ENTER}") part seems to be the key to starting playback.
    Code:
    ; 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")
         WinKill("PowerDVD")
         Terminate() 
        ;
        ; optional msgbox here
        ;
       EndIf
    
    
    ; main loop
    While 1
       Check_Window()
       Send("{ENTER}"); "Enter" will start the movie - let it run for $secs
    Last edited by Underheaven; 25.01.2008, 05:09.

    Leave a comment:


  • xpress92
    started a topic activate the play button in powerdvd

    activate the play button in powerdvd

    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
Working...
X