Friday, June 13, 2008

Scripting using Solid Documents Products

One of the major changes we've made to our latest products (Solid Converter PDF to Word v4, Solid PDF Creator Plus and Solid PDF Tools Scan to PDF) is the ability to script their behavior.

For example, you can convert a PDF file to DOC using the script below with Solid PDF Tools:

<</FileName (c:\\temp\\input.pdf) >> FileOpen
<</WordDocumentType/Doc
/OutputFolder (c:\\temp\\)
/ReconstructionMode/Flowing
/LaunchViewer false>> ConvertToWord
FileClose Exit
The script above would typically be placed in a plain text file ending in sdscript and run with the command below:
SolidPDFTools.exe /i c:\PathToScript\script.sdscript /f script

Further details on how use this command as well as others can be found in our scripting reference [pdf file].

Have a question about how to script our software? Have an idea for a feature we haven't implemented yet? Feel free to contact us with any questions or comments.

0 comments: