storme Posted April 23, 2009 Share Posted April 23, 2009 G'day AllI've got a little project to convert multiple Project2007 files to PDF so they can be uploaded.I've got the recursive search funtion to collect all of the file names almost done.I've got examples of how to use FTP from AutoIT.What I'm not sure of is the best way to do the converstion.They use Primopdf as their pdf printer driver.I could open Project and throw keyboard commands at it to open & print the files to Primo but I thought maybe someone has a cleaner solution.Any help?Thanks in advanceJohn Morrison Some of my small contributions to AutoIt Browse for Folder Dialog - Automation SysTreeView32 | FileHippo Download and/or retrieve program information | Get installedpath from uninstall key in registry | RoboCopy function John Morrison aka Storm-E Link to comment Share on other sites More sharing options...
DaleHohm Posted April 23, 2009 Share Posted April 23, 2009 You'll find a COM object model for Project on MSDN, but I don't recall seeing anyone dabbling with it here yet. Dale Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model Automate input type=file (Related) Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded Better Better? IE.au3 issues with Vista - Workarounds SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead? Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble Link to comment Share on other sites More sharing options...
herewasplato Posted April 23, 2009 Share Posted April 23, 2009 (edited) ... They use Primopdf as their pdf printer driver. ...You did not mention if they use the free version of the paid version od Primopdf. The paid version allows batch processing of files. As an alternative to that paid version, you might convince them to use the free open source PDFCreator. It allows batch processing. PDFCreator also has command line features (/PF<filename>) and a COM interface: Nearly all [possibilities] of the program are available using the COM Interface. The COM Interface includes Public classes, Public properties, Public methods and Public events. There are no UDTs used so the [compatibility] will not be broken with any upgrading of UDTs. There are "self-documenting" names used so that no further description is needed. ~hope this helps~ Edited April 23, 2009 by herewasplato [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
storme Posted April 24, 2009 Author Share Posted April 24, 2009 You did not mention if they use the free version of the paid version od Primopdf. The paid version allows batch processing of files.It's the "free" verison of course....sighAs an alternative to that paid version, you might convince them to use the free open source PDFCreator. It allows batch processing. PDFCreator also has command line features (/PF<filename>) and a COM interface:That sounds like a winner to me. It's only going to go on one computer and I think the only reason they are using primo is someone recomended it in the past.The COM interface is a little overkill for this project but maybe usefull in the future.~hope this helps~I'm sure it will! THANKS!John Morrison Some of my small contributions to AutoIt Browse for Folder Dialog - Automation SysTreeView32 | FileHippo Download and/or retrieve program information | Get installedpath from uninstall key in registry | RoboCopy function John Morrison aka Storm-E 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