![]() 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. Set its caption based on the current line HndTopics.SetTopicCaption(sTopicId, oList) ![]() Create a new topic sTopicId := HndTopics.CreateTopic() Iterate through each line for nLine := 0 to oList.Count - 1 do begin Try // Load the lines from a file oList.LoadFromFile( 'c: \tmp \topics.txt ') Create objects oList := TStringList.Create() Var // ID for the newly created topic sTopicId: string Var // Current line number nLine: Integer Var // List of lines in the file oList: TStringList 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. 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |