Printing Help.
I am trying to automate a crystal report printing process through a batch file.
I am able to get all the way up until it asks to print and then it just hangs.
I tried the following code
OK.Click
btnOK.Click
Anyone have any idea what code I should be using to hit the OK button on the print window?
The best way to describe the Automation....
Open MSWord, Hit Print, There is an OK button and a Cancel button.
I am trying to automate the OK button pressing using your mouse via a batch file.
Any ideas?
I am able to get all the way up until it asks to print and then it just hangs.
I tried the following code
OK.Click
btnOK.Click
Anyone have any idea what code I should be using to hit the OK button on the print window?
The best way to describe the Automation....
Open MSWord, Hit Print, There is an OK button and a Cancel button.
I am trying to automate the OK button pressing using your mouse via a batch file.
Any ideas?
Comments
-
TechJunky Member Posts: 881I am asuming I am going to need to add into my batch file a vbs that grabs control of the window and hits OK...