Re: Create PDFs from Word docs using command line?

Subject: Re: Create PDFs from Word docs using command line?
From: Jay Maechtlen <techwriter -at- covad -dot- net>
To: salt -dot- morton -at- gmail -dot- com
Date: Thu, 08 Jul 2010 14:51:50 -0700

Also, there's VBA, which is a programming language/ environment included
with MS Office.
(or, maybe that's what was meant by "VB"?)

My main VBA resource has been the Word MVP site, with its FAQ.
You can do batch stuff within a file, across multiple files and
directories, etc.

If you deal with Word much, you should probably make VBA your friend!
cheers
Jay


Chris Morton wrote:
> I use WinBatch <http://www.winbatch.com/> to automate repetitive
> Windows-based tasks such as this. It's SendKeysTo command works great.
> WinBatch is FAR simpler than VB, although can be coerced into doing just
> about anything. For example:
>
> DirChange(*a DOC* *directory*)
> a = FileItemize("*.doc*")
> n = ItemCount(a, @TAB)
> For j = 1 to n
> Display(3, "Now printing...", a)
> SendKeysTo = "~Word", "!fp{OK}"
> Next
> Message("All done!", "What now, brown cow?")
>
> ..changes to a specified folder containing the DOC and DOCX files ready to
> print. It then counts the number of files and prints each in succession,
> alerting you about the status of each file as it does so. Lastly, it
> requires an acknowledgement from you taht the job is complete.
>
> You'll find the WB online help community to be extremely responsive and
> helpful!
>
>

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Gain access to everything you need to create and publish information
through multiple channels. Your choice of authoring (and import)
formats with virtually any output. Try Doc-To-Help free for 30-days.
http://www.doctohelp.com/


---
You are currently subscribed to TECHWR-L as archive -at- web -dot- techwr-l -dot- com -dot-

To unsubscribe send a blank email to
techwr-l-unsubscribe -at- lists -dot- techwr-l -dot- com
or visit http://lists.techwr-l.com/mailman/options/techwr-l/archive%40web.techwr-l.com


To subscribe, send a blank email to techwr-l-join -at- lists -dot- techwr-l -dot- com

Send administrative questions to admin -at- techwr-l -dot- com -dot- Visit
http://www.techwr-l.com/ for more resources and info.

Please move off-topic discussions to the Chat list, at:
http://lists.techwr-l.com/mailman/listinfo/techwr-l-chat


Follow-Ups:

References:
Create PDFs from Word docs using command line?: From: Viv Crawford
Re: Create PDFs from Word docs using command line?: From: Chris Morton

Previous by Author: Re: TECHWR-L Digest, Vol 57, Issue 19
Next by Author: Re: Strategies for handling multiple e-mail systems and accounts?
Previous by Thread: Re: Create PDFs from Word docs using command line?
Next by Thread: Re: Create PDFs from Word docs using command line?


What this post helpful? Share it with friends and colleagues:


Sponsored Ads