I using C# to interact with PCDLRN.dll. Currently, our programs have a manual alignment at the beginning and then a comment that pauses execution prior to switching to direct computer control mode. What I am trying to do is, after manual alignment when the program is switching to direct computer control, I want to be able to press a button on my web app that clicks OK on the comment prompt that continues the DCC alignment and continues on with the program. I found references to a Comment method that has a "PressOkButton" function but I can't figure out how to use that in tandem with the Application or PartProgram that I have in memory.
My first attempt was to use the built in .NET Automation tools to find the window and click the button. However, I noticed that there are supposedly built in PCDMIS functions that should be able to control this so I wanted to try that first.
My first attempt was to use the built in .NET Automation tools to find the window and click the button. However, I noticed that there are supposedly built in PCDMIS functions that should be able to control this so I wanted to try that first.