Jump to content

Print Dialogue


Recommended Posts

I apologize for the newbie question but I have been looking through the site for hours without success.

I need to open and print to pdf a ton of XmL files. I have the files opening and the print dialogue window coming up but can't seem to get the script to do anything within that window. I used au3info to get the identifiers.

#Include <IE.au3>

#include <GuiConstantsEx.au3>

$oIE = _IECreate("c:\test.xml")

_IEAction($oIE,"print")

winwait("Print")

ControlClick("Print", "",1002)

Eventually I will need to get the names of the files in a folder but for now, I need to figure out how to do anything within the print window.

The goal is to:

Click the Save to File checkbox, enter the new file path and name and then hit print.

Thanks for any help.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...