I'm unaware of a way or a utility that would allow you to seamlessly suck in a Help and Manual project and convert it to a RoboHelp project.
Aside from simply importing the HTML files into a project you are then faced with how to get the variables and other things created. As for the variables, I believe that RoboHelp ships with two scripts that may be used to crawl the project and create variables. So that might be pretty straightforward.
As for snippets, you DO have an ability to select text in a topic, right-click it and choose Add to > Snippets. But I'm unaware of an easy way to scan the project and find all instances of the same stuff and convert it to a Snippet. Perhaps Willam van Weelden knows a way to easily do it using a script. Or you might contract with him to create you a script to do it.
Rick , Thanks for yourReply.
If i have the hts files(snippet files),can i import those files using script?
Also is there any script(.jsx) available to create Book and pages in TOC from Project files ?
Hmmm, I'm not sure about the HTS files. All I can say is to try and see.
RoboHelp does offer a facility to auto-create a TOC, perhaps try that?
If you create a CHM, you can use my recovery scripts to turn it back into a project. But then you will lose conditional tags and variables. But as you say, that's what you want to preserve. I don't know an out-of-the-box solution for this, but one can always be made. Also finding content using a script is not something I have lying around since that is a complicated option.
Unless you want to do some scripting yourself or hire someone (such as my humble self), the easiest way is to convert manually. I'm not sure how large your project is, but if it is small, automating it may not be worth the trouble.
Thank you.. I am trying some scripting... let me see...