The C# project that we wrote about last week is very informative, but it isn't perfect.
One commonly used feature in command line applications are wildcards. For example, one might want to use the command below to convert all of the PDF files in the temp folder to DOC using Solid PDF Tools Scan to PDF:
TestApp.exe /i "c:\temp\*.pdf"Supporting this requires a few changes in our application (a foreach loop among other changes):

This provides us with all the values we need to run through the script below:

We've made a few other improvements to the project as well (download here). After you build it with Visual Studio or Visual C# Express 2008 you can run the resulting TestApp.exe with -h as an argument to see all the new options.
If you need to change the sample script we recommend that you read our first post on scripting using Solid Document software and our scripting reference [pdf file].
Any thoughts or ideas? How do you use this in your work and how would you like to use it? Contact us with any or all of your feedback.

0 comments:
Post a Comment