ScriptUSER Posted November 28, 2006 Share Posted November 28, 2006 I am using a Dll to convert doc files to Pdf fornat. pdfmaker.dll Can i use Autoit to use this dll for converting to pdf format ? is there any coversion tools ? here is a procedure which the dll uses in word ... 1.25 CreatePDFfromWord2 - Method to create an Adobe Acrobat (PDF) file from a Word document. Requirements: Word and file PDFOSEND.EXE (see page 6 of this document) Note: No postscript file created. Creates PDF faster than CreatePDFfromWord() Arguments: strPDFFile As String PDF file to create strWordDocument As String Word document to use Optional strPassword As String Word document password Optional strWritePassword As String Word document write password Optional strPages As String Word document pages to use Optional blnLandscape As Boolean Page orientation. Values: True,False Optional blnPageNumberInFooter As Boolean Place page number in footer. Values: True,False Optional blnPageNumberInHeader As Boolean Place page number in header. Values: True,False Optional lngPageNumberAlignment As Long Page number alignment. Values: 0=left, 1=center, 2=right Optional blnFirstPage As Boolean Add page number to first page? Values: True,False Optional strDistiller As String Adobe Acrobat Distiller Name Optional blnCloseAcrobat As Boolean Close Acrobat after creating PDF file? Example: Dim strPDF As String Dim strDoc As String Dim strPagesToPrint As Variant On Error Resume Next Screen.MousePointer = vbHourglass strPDF = App.Path & "\debug.pdf" strDoc = App.Path & "\debug.doc" strPagesToPrint = "1, 3, 6-8, 10" oPDFmaker.CreatePDFfromWord2 strPDF, strDoc, , , strPagesToPrint Screen.MousePointer = vbDefault If Err.Number Then MsgBox Err.Number & " : " & Err.Description, vbExclamation, "Error Message" Else 'open PDF file End If Link to comment Share on other sites More sharing options...
James Posted November 28, 2006 Share Posted November 28, 2006 I'm not sure, but you could make your program(the one your making) run the .dll/program and use keypress etc to make it go through the process. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
Developers Jos Posted November 28, 2006 Developers Share Posted November 28, 2006 Any reason for the double thread on the same subject ? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Valik Posted November 28, 2006 Share Posted November 28, 2006 Any reason for the double thread on the same subject ?Actually, it was a triple. Link to comment Share on other sites More sharing options...
ScriptUSER Posted November 28, 2006 Author Share Posted November 28, 2006 Actually, it was a triple.sorry.....My browser locked ...forced to post agin .... Link to comment Share on other sites More sharing options...
Developers Jos Posted November 28, 2006 Developers Share Posted November 28, 2006 (edited) sorry.....My browser locked ...forced to post agin ....Can happen... (had that happen as well ) ... best thing is to first check before trying again Edited November 28, 2006 by JdeB SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
ScriptUSER Posted November 30, 2006 Author Share Posted November 30, 2006 Can happen... (had that happen as well ) ... best thing is to first check before trying again so.. Where are the Autoit experts to help the nevbie ? Link to comment Share on other sites More sharing options...
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