Jewtus Posted September 23, 2014 Posted September 23, 2014 I was wondering if anyone knew a way to create PDF files without needing to have an additional program on the machine (most tutorials/UDFs talk about 3rd party tools like www.autoitscript.com/forum/topic/160875-debenu-quick-pdf-library-udf/). I'm wondering if there is a way to use an adobe object (EX ObjCreate("AcroPDF.PDF.1")) or even with word/ppt/internet explorer/other standard windows tools. Anyone know if this is a possibly? If so, please point me in the right direction.
Moderators JLogan3o13 Posted September 23, 2014 Moderators Posted September 23, 2014 With Word (from the help file) just use _Word_DocSaveAs and change the file type parameter: #include <Word.au3> $sPath = @DesktopDir & "\My.doc" $oWord = _Word_Create() $oDoc = _Word_DocOpen($oWord, $sPath) Sleep(2000) _Word_DocSaveAs($oDoc, @DesktopDir & "\My.pdf", $WdFormatPDF) Sleep(2000) _Word_Quit($oWord) Jewtus 1 "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum!
Exit Posted September 23, 2014 Posted September 23, 2014 I think this only works if you have installed additional software MS Office/Word. App: Au3toCmd UDF: _SingleScript()
iamtheky Posted September 23, 2014 Posted September 23, 2014 or even with word/ppt/internet explorer/other standard windows tools. ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__)
Moderators JLogan3o13 Posted September 23, 2014 Moderators Posted September 23, 2014 Yes, pays to read what the OP is asking "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum!
Solution Gianni Posted September 23, 2014 Solution Posted September 23, 2014 >This is nice Chimp small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt....
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now