Skip to Content
avatar image
Former Member

How to disable the “Confirmation” dialog when generating reports using script in PowerDesigner

I have a script to generate report which is invoked from the command line: "C:\Program Files\SAP\PowerDesigner 16\PdShell16.exe" -X pd-gen-reports.vbs

The report.GenerateHtml function shows a dialog with prompt "Do you want to open it with the default application now" after successfully generating the HTML report and I have to manually click the "No" button.

Is there a way to disable this dialog so the script can be executed in automated build process without human interactions?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Aug 08, 2016 at 08:57 AM


    I suggest you to play a bit with different interactive modes. Try some combination of batch and abort modes. Here is how you set it up:

    InteractiveMode = im_Batch

    More details in standard PD documentation.

    It migh happen, that it won`t be possible to make PD bahave exactly according to your needs. Then I recommned to let it open and then close it "manually" as a next command in your VB script.



    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Thanks you for your help ^_^

      My PD version is (4535), and PD is running in

      Your little script shows the confirmation dialog too.

      Sorry I can not test it on different machine, may be some days later ....