Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Print Dialogue

$
0
0
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.

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>