TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
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-