hexagon logo

Report Pop Up

Would the following even work?

I would like the operator to review the report, insert a comment at the end and the print it to a pdf. Our process is to run a part, read a report after it prints and the program is complete, and then gage any diameters that appear to be out. We need a comment at the end of the report that states the part was gaged. Any thoughts??

I've been playing with a few things but cannot get what I want exactly.

Thanks in advance.

No pressure, but this is HOT.
Parents
  • Having an issue with the script. Here is what it looks like:

    Sub Main(strFileName As String)
    Shell "C:\Program Files\Tracker Software\PDF Viewer\PDFXCview.exe " & strFileName
    End Sub


    This is the error:

    "Syntax Error on line: 4-_"

    Any thoughts???? There is nothing on line 4, seems weird to me. But then again, I'm no expert at this.

    ** UPDATE!! **

    Got the errors to go away. Script works, partially. I run the program, it creates the PDF, the PDF viewer opens, but the specific PDF that was just created does not open at all.

    Not sure what the deal is. Thanks.
Reply
  • Having an issue with the script. Here is what it looks like:

    Sub Main(strFileName As String)
    Shell "C:\Program Files\Tracker Software\PDF Viewer\PDFXCview.exe " & strFileName
    End Sub


    This is the error:

    "Syntax Error on line: 4-_"

    Any thoughts???? There is nothing on line 4, seems weird to me. But then again, I'm no expert at this.

    ** UPDATE!! **

    Got the errors to go away. Script works, partially. I run the program, it creates the PDF, the PDF viewer opens, but the specific PDF that was just created does not open at all.

    Not sure what the deal is. Thanks.
Children
No Data