a script for online books

If its possible through a script.
I would like to write to one File example Word document, a content of a help file without expanding the help file folders/subfolders then copy its content then paste it into word document, then go to the next subfolder/node and do the same thing.
Seeing that it takes forever to manually copy a help of a certain software (example windows, or MS sql, MSDN) because of those subfolders/nodes that need to be expanded and copy the contents and paste it into the word document.
A script/function/subroutine will be a good help.

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

not what you asked for, but maybe a different way of doing it...

If you print a topic from help you have the option to print current help page or everything under that topic.
You can set up a print driver to print to (for example) a text file or even a pdf file. You can get everything you want with one or a few print commands.


ChuckbuchanAuthor Commented:
how does this work ?
ChuckbuchanAuthor Commented:
how do you configure the printer to do this job?
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Go to printers -> add a printer.
there is an option there for 'print to file'
as the print driver select 'generic - text only'
that should work.

then when you print to this new print device you will be prompted for a file name.

another method is to install ghostscript and print postscript to it. (a bit more complex though)

ChuckbuchanAuthor Commented:
To Beldoran : when I choose print to file , then I open the file with word pad or note pad it shows something different than what I wanted to print.
Is it badly formatted? is the text you want in there?
If so you can try opening it in something like word and autoformat to clean it up.

If the text is incorrect, try a test print to a real printer and see if the same thing is happening. If so you may not have the topic selected correctly.

Other than that you can check the code page being used to print (in 2000, dont know about other os) by right clicking on the generic text printer and chosing properties -> font selection.

If this all doesnt do what you want then create another printer to file but use a postscript driver and feed the resulting output file into ghostscript. (I believe you can save the result as text, not sure exactly how though :-( )

I am away for next 3-4 days, so hope this solves your problem.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.