We have explored a very tiny part of what HelpNDoc’s script engine is capable of through this samples. Endless possibilities thanks to HelpNDoc’s scripting engine HndEditor.DestroyTemporaryEditor(oEditor) Įnd. HndEditor.SetAsTopicContent(oEditor, sTopicId) HndEditor.InsertFile(oEditor, 'c: \tmp \' + oList + '.html ') OEditor := HndEditor.CreateTemporaryEditor() Our whole script would become something like: Let’s expand our previous sample and imagine that each topic’s content is contained in an HTML file named after the topic caption. We have now automated the creation of the table of contents but we could also script the creation of the content for those topics. Let’s see how easily it is to use that feature. HelpNDoc’s script engine can also be used to manage the content of a topic. HndTopics.SetTopicCaption(sTopicId, oList) Set its caption based on the current line
![tools creation of user documentation like helpndoc tools creation of user documentation like helpndoc](https://image.slidesharecdn.com/onlinehelpanalysis-150724062845-lva1-app6891/95/online-help-authoring-tools-analysis-10-638.jpg)
OList.LoadFromFile( 'c: \tmp \topics.txt ') It can be accessed using the “Script Editor” button in the “Tools” ribbon tab. The script editor provides an editor with syntax highlighting as well as script building and running capabilities. To use HelpNDoc’s scripting capabilities, you’ll need to enter a script or load one in the script editor. It provides access to a wide range of methods to control your documentation projects. HelpNDoc’s script engine is based on the Pascal programming language which is very easy to understand and type. HelpNDoc’s script engine provides access to manage every HelpNDoc’s features: table of contents, topic editor, keywords, library items… the possibilities are endless. Let’s see how the script editor can help you create the most useful help files in the shortest amount of time possible. One of those advanced feature is the script editor which lets you manipulate HelpNDoc through a scripting language. It is also extremely powerful and provides many advanced tools to simplify and speed-up the creation of amazing help files and manuals.
![tools creation of user documentation like helpndoc tools creation of user documentation like helpndoc](https://i.ytimg.com/vi/u1XVAR985g8/hqdefault.jpg)
HelpNDoc is so easy to use that a complete multi-format and multi-device documentation can be produced in just a few minutes after downloading and trying HelpNDoc for the first time thanks to its intuitive user interface and Microsoft Word-like topic editor.