Adobe, the Adobe logo, Adobe AIR, AIR, FlashHelp, FrameMaker, and RoboHelp are either registered trademarks or trademarks of Adobe Systems
Incorporated in the United States and/or other countries. Windows is either a registered trademark or trademark of Microsoft Corporation in the United States
and/or other countries. All other trademarks are the property of their respective owners.
This work is licensed under the Creative Commons Attribution Non-Commercial 3.0 License. To view a copy of this license, visit
http://creativecommons.org/licenses/by-nc/3.0/us/
Adobe Systems Incorporated, 345 Park Avenue, San Jose, California 95110, USA.
A script is a series of commands that instructs Adobe® RoboHelp® to perform a set of specified actions, such as
counting the images used in a RoboHelp project or selecting multiple master pages and importing them. Scripts
automate repetitive tasks and are often used as a creative tool to streamline tasks that are time-consuming.
Before you begin scripting, take a few moments to read an overview of the scripting support in RoboHelp and find out
how to create and run scripts.
If you are familiar with scripting or programming languages, you can skip this chapter and refer to “Classes” on page 5
and “Constants” on page 101 for information about RoboHelp scripting classes and constants.
If you are new to scripting, you can acquaint yourself with the basic scripting concepts provided in the Introduction
to Scripting manual.
Scripting support in RoboHelp
RoboHelp supports ExtendScript, which is an extended version of JavaScript. As a beginner, the difference between
these two languages does not affect you. However, name JavaScript scripts with a .jsx extension, instead of the usual .js
extension. ExtendScript files are distinguished by the .jsx extension.
1
Creating scripts
Adobe provides ExtendScript Toolkit (ESTK) with its applications as a scripting utility. The ESTK has many features
that make it easier to use than a text editor, including a built-in syntax checker that identifies where the problems are
in your script and tries to explain how to fix them, and the ability to run your scripts right from the ESTK without
saving the file. This second feature can save you a lot of time, especially in the beginning when you may have to test
and edit a script several times to get it to work.
Debug scripts
❖ Select the Adobe RoboHelp 8 option as the target application from the drop-down list in the ESTK.
Edit scripts
❖ Double-click a script file in Script Explorer or Windows Explorer to edit it using the ESTK.
Managing scripts from within RoboHelp
The Script Explorer pod enables you to manage scripts and do any of the following:
Create a script folder Create a folder for storing specific scripts. For example, you can store scripts that record data in
one folder and scripts that display output in another folder.
Reorganize folders You can reorganize folders through simple drag-and-drop operations.
Import and export You can export and import script files and folders in different projects and locations. To import or
export a folder, it must contain at least one script file.
Last updated 8/27/2012
ROBOHELP 10 SCRIPTING GUIDE
Scripting basics
Running scripts
• From the command line, enter the following command:
Robohtml.exe -x [scriptfilenames]
You can specify multiple script filenames, separated by a space, to run one script after another. If the filename path
contains a space, enclose the filename path in single or double quotation marks.
• In RoboHelp, choose Tools > Scripts to run sample scripts or create new scripts and run them.
• In Windows Explorer, double-click a script to open it in ExtendScript Toolkit and run it.
• In ExtendScript Toolkit, select Adobe RoboHelp 8 from the ExtendScrip Toolkit pop-up menu and click the Click
To Connect To Target Application
to run RoboHelp.
RoboHelp sample scripts
RoboHelp provides a set of sample scripts that you can use or customize. You can use these sample scripts to do the
following:
EclipseHelp Use this script to convert WebHelp output to EclipseHelp output. See the script for more details.
Link Converter Use this script to convert an anchor link href target across all the files in a RoboHelp project. For
example, define a link to convert www.adobe.com to www.adobe.com/support/ across all the Help files in a project.
See the script file for more information.
2
MultiMasterPageImport Use this script to select multiple master pages and import them.
SaveAsProjectTemplate Use this script to save a RoboHelp project as a template for creating similar RoboHelp
projects.
UDV Converter with UI Use this script to convert a keyword into a user-defined variable and change its value across all
files in a project. Enter a keyword, a user-defined variable name, and its value.
UDV Converter Use this script to convert a keyword into a user-defined variable and change its value across all the files
in a project. See the script for more details.
Word Count Use this script to get a word count for an open RoboHelp project. It provides a word count by topic and
by project. To run the Word Count script, right-click the script and select Run. The word count summary appears in
the Output View pod.
RoboHelp object model
The RoboHelp object model is based on the principles of a document object model (DOM). A DOM is an application
programming interface (API) that allows you to programmatically access various components of a document (as
defined for that application) through a scripting language. The principle behind a DOM is the containment hierarchy.
In other words, top-level objects in a DOM contain next-level objects, which contain the subsequent level of objects,
and so on.
Each node in the Robohelp containment hierarchy is a class. The RoboHelp class sits at the top of the hierarchy and is
a collection of classes and constants. To accomplish a task through scripting, you need to reference these objects
following the parent-child relationship defined in the containment hierarchy.
Last updated 8/27/2012
ROBOHELP 10 SCRIPTING GUIDE
Scripting basics
For example, if you want to specify Adobe® AIR® Help as the single-source layout for a RoboHelp application, the
object reference in your script needs to be:
RoboHelp.SSLLayoutType.AIRHELP
SSLLayoutType is a child class of the RoboHelp class, and AIRHELP is a property of the SSLLayoutType class.
3
Last updated 8/27/2012
ROBOHELP 10 SCRIPTING GUIDE
Scripting basics
4
RoboHelp
TokenManager
Token
RoboHelp containment hierarchy
Project
TopicManager
Topic
MasterPageManager
MasterPage
SnippetManager
Snippet
UDVManager
UDV
FileManager
File
TOCManager
TOC
IndexManager
Index
GlossaryManager
Glossary
SkinManager
Skin
CBTManager
CBT
SSLManager
SSL
ScreenManager
Screen
FMFileManager
FMFile
WordFileManager
WordFile
ServerManager
Server
HTMLHelpWindowManager
HTMLHelpWindow
ReportManager
MapIDManager
AddMethod
PIType
SSLLayoutType
Language
ReportType
DeleteOption
Status
SkinType
FrameFileFormat
TokenType
TagType
FileStatus
SynchStatus
ServerType
WordFileFormat
HTMLHelpWindowAlign
HTMLHelpWindowDefaultTab
HTMLHelpWindowButtons
HTMLHelpWindowProperties
ContentManager
SSLContent
For more information on classes, see “Classes” on page 5.
For more information on constants, see “Constants” on page 101.
Last updated 8/27/2012
Chapter 2: Classes
RoboHelp
Main class for interacting with a RoboHelp application.
RoboHelp properties
Property nameData typeDescription
versionStringRead-only
RoboHelp product version
nameStringRead-only
Product name
pathStringRead-only
Full path to the RoboHelp application
executable
5
convertToHTMLOutputBooleanTrue if the Convert RoboHelp-edited Topics
typenameStringClass name of reference object
scriptingVersionStringScripting interface version
languageInteger constantRead-only
projectProjectProject object
SSLLayoutTypeSSLLayoutTypeRead-only
LanguageLanguageRead-only
ReportTypeReportTypeRead-only
AddMethodAddMethodAddMethod constant
DeleteOptionDeleteOptionRead-only
StatusStatusRead-only
To HTML Option is selected.
This option can be set using the scripting API.
RoboHelp language settings
SSLLayoutType constant
Language constant
ReportType constant
DeleteOption constant
Status constant
SkinTypeSkinTypeRead-only
SkinType constant
Last updated 8/27/2012
ROBOHELP 10 SCRIPTING GUIDE
Classes
Property nameData typeDescription
FrameFileFormatFrameFileFormatRead-only
FrameFileFormat constant
TokenTypeTokenTypeRead-only
TokenType constant
TagTypeTagTypeRead-only
TagType constant
FileStatusFileStatusRead-only
FileStatus constant
SyncStatusSyncStatusRead-only
SyncStatus constant
ServerTypeServerTypeRead-only
ServerType constant
WordFileFormatWordFileFormatRead-only
WordFileFormat constant
6
commandLineArgCountIntegerNumber of command-line arguments passed
in the RoboHelp process
RoboHelp methods
getCommandLineArg
Description
Get the command line argument passed in RoboHelp process
Returns
String
Syntax
getCommandLineArg(argCount)
Parameters
Parameter nameData TypeOptionalDescription
argCountintNoArgument index in the command line
openProject
Description
Opens .mpj and .xpj projects in a RoboHelp application.
Last updated 8/27/2012
ROBOHELP 10 SCRIPTING GUIDE
Classes
Syntax
openProject (projectPath, upgradeIfRequired)
Parameters
Parameter nameData typeOptionalDescription
7
projectPathStringNoFull path to the project file that you want to
upgradeIfRequiredBooleanYesUpgrade the project if created in older version
open
of RoboHelp. Default value is false.If upgrade
not required for the project, this parameter is
ignored.
getTokenManager
Description
Returns Token Manager for the specified file.
Returns
TokenManager
Syntax
getTokenManager (fullFilePath)
Parameters
Parameter nameData typeOptionalDescription
fullFilePathStringNoFull path to the file that you want to open
readWholeFile
Description
Read the whole file and return the file content. This function will take care of encoding issues for XML and html files
as well
Returns
String
Syntax
readWholeFile(fullFilePath)
Parameters
Parameter nameData TypeOptionalDescription
fullFilePathStringNoFull path of file which user wants to read
Last updated 8/27/2012
ROBOHELP 10 SCRIPTING GUIDE
Classes
writeWholeFile
Description
Creates a new file if required and write the content to this file. This function will take care of encoding issues for XML
and html files. If the file is HTML or XML then it will check for encoding type and encode the file accordingly, other
wise it will write the content in UTF-8 and write BOM as well.
Returns
Boolean
Syntax
writeWholeFile(fullFilePath, stringBuffer)
Parameters
Parameter nameData TypeOptionalDescription
fullFilePathStringNoFull path of file which user wants to read
8
stringBufferStringNoString Content which needs to be
written to file
createZipFile
Description
Creates a zipped file. This function requires a input folder as well as output zip file path
filePathStringNoAbsolute path of the FrameMaker document
folderNameStringNoRelative path of the folder the in the current
frameMakerTOCFilePathStringNoAbsolute path of the FrameMaker TOC file for
TOCNameStringNoName of the existing or new TOC for the
addIndexToTopicBooleanNoWhether the index from the FrameMaker
indexNameStringNoIf addIndexToTopic is false, this is the name
glossaryNameStringNoName of the existing or new glossary for the
to import
project in which the FrameMaker document is
to be imported
the FrameMaker document to import
imported FrameMaker document
document is added to the imported topics or
not
of the existing or new index for the imported
FrameMaker document.
imported FrameMaker document
Token
Handles a specific token.
Last updated 8/27/2012
ROBOHELP 10 SCRIPTING GUIDE
Classes
Token properties
Property nameData typeDescription
parentTokenManagerRead-only
Parent TokenManager object
nameStringRead-only
Text from the token object
typenameStringRead-only
Class name of the reference object
previousTokenRead-only
Returns the previous token object
nextTokenRead-only
Returns the next object
tokenTypeInteger constantRead-only
Type of token
tagTypeInteger constantRead-only
Returns the type of tag if tokenType is
TOKENTAG
21
attributeCountintIn case of TOKENTAG, returns the number of
attributes present in the token
Token methods
update
Description
Updates the text of the token if tokenType is TOKENTEXT.
Returns
Boolean
Syntax
update (newText)
Parameters
Parameter nameData typeOptionalDescription
newTextStringNoNew text string to update for the token
isEndTagofType
Description
In case of TOKENTAG, it returns true if the token is and end tag
Last updated 8/27/2012
ROBOHELP 10 SCRIPTING GUIDE
Classes
Returns
Boolean
Syntax
isEndTagofType(startTagType)
Parameters
Parameter nameData TypeOptionalDescription
startTagTypeTagTypeNo
getAttribute
Description
Returns the specific attribute value.
Returns
String
22
Syntax
getAttribute (attributeName)
Parameters
Parameter nameData typeOptionalDescription
attributeNameStringNoName of the attribute
getAttributeName
Description
Returns the attribute name specified by the index
Returns
String
Syntax
getAttributeName(index)
Parameters
Parameter nameData TypeOptionalDescription
indexintNoIndex for the attribute Name (starts with
1)
Last updated 8/27/2012
ROBOHELP 10 SCRIPTING GUIDE
Classes
hasAttribute
Description
In case of TOKENTAG, Returns true if the specific attribute is present in the token, otherwise false
Returns
Boolean
Syntax
hasAttribute(attributeName)
Parameters
Parameter nameData TypeOptionalDescription
attributeNameStringNoName of the attribute
setAttribute
Description
Sets the specific attribute value.
23
Returns
Boolean
Syntax
setAttribute (attributeName, attributeValue)
Parameters
Parameter nameData typeOptionalDescription
attributeNameStringNoName of the attribute
attributeValueStringNoValue of the attribute
removeAttribute
Description
Removes the specific attribute value.
Returns
Boolean
Syntax
removeAttribute (attributeName)
Last updated 8/27/2012
ROBOHELP 10 SCRIPTING GUIDE
Classes
Parameters
Parameter nameData typeOptionalDescription
attributeNameStringNoName of the attribute
insertText
Description
Inserts a new text token before or after the specified token.
Returns
Boolean
Syntax
insertText (newText, afterCurrentTag)
Parameters
Parameter nameData typeOptionalDescription
24
newTextStringNoNew text to insert
afterCurrentTagBooleanYesInserts a new text token before a specified
token
By default, the new token is inserted after the
current tag.
delete
Description
Removes the token.
Returns
Boolean
Syntax
delete ()
TokenManager
Handles tokens for a specific file.
Last updated 8/27/2012
ROBOHELP 10 SCRIPTING GUIDE
Classes
TokenManager properties
Property nameData typeDescription
parentRoboHelpRead-only
RoboHelp application object
typenameStringRead-only
Class name of the reference object
countIntegerRead-only
Number of tokens in the file
validBooleanRead-only
Checks if the token file is valid or not
TokenManager methods
item
25
Description
Returns the token specified by the index.
Returns
Token
Syntax
item (index)
Parameters
Parameter nameData typeOptionalDescription
indexIntegerNoIndex for the token
save
Description
Saves the specified token file.
Returns
Boolean
Syntax
save ()
Last updated 8/27/2012
ROBOHELP 10 SCRIPTING GUIDE
Classes
close
Description
Closes the specified token file and frees all the resources consumed by it.
Returns
Syntax
close()
Topic
Handles specific topic functions in the project.
Topic properties
Property nameData typeDescription
26
parentTopicManagerRead-only
Parent TopicManager object
nameStringRead-write
Title of the topic file
filenameStringRead-only
Topic file name
typenameStringRead-only
Class name of the reference object
previousTopicRead-only
Returns the previous topic object
nextTopicRead-only
Returns the next topic object
languageLanguageRead-only
Language of the specified topic
statusStatusRead-only
Returns the status of the topic file
CBTStringRead-write
List of CBTs applied on the topic
fileStatusFileStatusRead-only
Status of the file
validBooleanRead-only
Returns true if the file is present physically
Last updated 8/27/2012
ROBOHELP 10 SCRIPTING GUIDE
Classes
Property nameData typeDescription
extensionStringRead-only
File extension
locationStringRead-only
Path to the folder in which the file is present
pathStringRead-only
Absolute file path
sizeIntegerRead-only
File size in bytes
creationDateStringRead-only
Creation date of the file in (mm-dd-yyyy)
format
modifyDateStringRead-only
Last modified date of the file in (mm-dd-yyyy)
format
27
Topic methods
checkout
Description
Checks out the specified file from the version control system.
Returns
Boolean
Syntax
checkout ()
checkin
Description
Checks in the specified file to the version control system.
Returns
Boolean
Syntax
checkin ()
Last updated 8/27/2012
ROBOHELP 10 SCRIPTING GUIDE
Classes
getLatestVersion
Description
Gets the latest version of the specified file from the version control system.
Returns
Boolean
Syntax
getLatestVersion ()
undoCheckout
Description
Cancels the checkout of the specified file from the version control system.
Returns
Boolean
28
Syntax
undoCheckout ()
delete
Description
Deletes the specified topic.
Returns
Boolean
Syntax
delete ()
TopicManager
Handles all topics in the current project.
Last updated 8/27/2012
ROBOHELP 10 SCRIPTING GUIDE
Classes
TopicManager properties
Property nameData typeDescription
parentProjectRead-only
Project object
typenameStringRead-only
Class name of the reference object
countIntegerRead-only
Number of topics present in the project
TopicManager methods
item
Description
Returns the topic specified by the index.
29
Returns
Topic
Syntax
item (index)
Parameters
Parameter nameData typeOptionalDescription
indexIntegerNoIndex for the topic
newItem
Description
Creates a topic in the current project.
Returns
Topic
Syntax
newItem (topicTitle, fileName, language)
Last updated 8/27/2012
ROBOHELP 10 SCRIPTING GUIDE
Classes
Parameters
Parameter nameData typeOptionalDescription
topicTitleStringNoTitle of the topic
fileNameStringNoFilename of the topic
languageInteger constantNoLanguage of topic
importItem
Description
Imports an HTML file into the current project.
Returns
Topic
Syntax
importItem (filePath, folderName)
30
Parameters
Parameter nameData typeOptionalDescription
filePathStringNoAbsolute path of the HTML file to import
folderNameStringNoRelative path of the folder in the current
project in which the HTML file is to be
imported
MasterPageManager
Handles all master pages in the current project.
MasterPageManager properties
Property nameData typeDescription
parentProjectRead-only
Project object
typenameStringRead-only
Class name of the reference object
countIntegerRead-only
Number of master pages present in the
project
Last updated 8/27/2012
ROBOHELP 10 SCRIPTING GUIDE
Classes
MasterPageManager methods
item
Description
Returns the master page specified by the index.
Returns
MasterPage
Syntax
item (index)
Parameters
Parameter nameData typeOptionalDescription
indexIntegerNoIndex for the master page
31
newItem
Description
Creates a master page in the current project.
Returns
MasterPage
Syntax
newItem (title, css, desc)
Parameters
Parameter nameData typeOptionalDescription
titleStringYesTitle of the master page
The filename for the master page is also same
as the title.
cssStringYesCSS to attach
The path of the CSS file must be relative to the
project path. If this parameter is null, no CSS is
attached. If this parameter is not specified or is
empty, the default CSS of the project is
attached.
descStringYesDescription
importItem
Description
Imports a master page into the current project.
Last updated 8/27/2012
ROBOHELP 10 SCRIPTING GUIDE
Classes
Returns
MasterPage
Syntax
importItem (filePath)
Parameters
Parameter nameData typeOptionalDescription
filePathStringNoAbsolute path of the master page to import
SnippetManager
Handles all snippets in the current project.
SnippetManager properties
32
Property nameData typeDescription
parentProjectRead-only
Project object
typenameStringRead-only
Class name of the reference object
countIntegerRead-only
Number of snippets present in the project
SnippetManager methods
item
Description
Returns the snippet specified by the index.
Returns
Snippet
Syntax
item (index)
Parameters
Parameter nameData typeOptionalDescription
indexIntegerNoIndex for the snippet
Last updated 8/27/2012
ROBOHELP 10 SCRIPTING GUIDE
Classes
newItem
Description
Creates a snippet in the current project.
Returns
Snippet
Syntax
newItem (snippetName)
Parameters
Parameter nameData typeOptionalDescription
snippetNameStringNoName of the snippet
importFile
Description
Imports an existing snippet into the current project.
33
Returns
Snippet
Syntax
importFile (snippetFilePath)
Parameters
Parameter nameData typeOptionalDescription
snippetFilePathStringNoFull path of the snippet file
UDVManager
Handles all user-defined variables (UDVs) in the current project.
Last updated 8/27/2012
ROBOHELP 10 SCRIPTING GUIDE
Classes
UDVManager properties
Property nameData typeDescription
parentProjectRead-only
Project object
typenameStringRead-only
Class name of the reference object
countIntegerRead-only
Number of UDVs present in the project
UDVManager methods
item
Description
Returns the UDV specified by the index.
34
Returns
UDV
Syntax
item (index)
Parameters
Parameter nameData typeOptionalDescription
indexIntegerNoIndex for the UDV
newItem
Description
Creates a UDV in the current project.
Returns
UDV
Syntax
newItem (UDVName, UDVValue)
Parameter
Parameter nameData typeOptionalDescription
UDVNameStringNoName of the new UDV
UDVValueStringNoValue of the new UDV
Last updated 8/27/2012
ROBOHELP 10 SCRIPTING GUIDE
Classes
FileManager
Handles all files in the current project.
FileManager properties
Property nameData typeDescription
parentProjectRead-only
Project object
typenameStringRead-only
Class name of the reference object
countIntegerRead-only
Number of files present in the project
FileManager methods
35
item
Description
Returns the file specified by the index.
Returns
File
Syntax
item (index)
Parameters
Parameter nameData typeOptionalDescription
indexIntegerNoIndex for the file
checkoutAll
Description
Checks out all files in the current project from the version control system.
Returns
Boolean
Syntax
checkoutAll ()
Last updated 8/27/2012
ROBOHELP 10 SCRIPTING GUIDE
Classes
checkinAll
Description
Checks in all files in the current project to the version control system.
Returns
Boolean
Syntax
checkinAll ()
getLatestAll
Description
Gets the latest version of all the files from the version control system into the current project.
Returns
Boolean
36
Syntax
getLatestAll ()
TOCManager
Handles all TOCs in the current project.
TOCManager properties
Property nameData typeDescription
parentProjectRead-only
Project object
typenameStringRead-only
Class name of the reference object
countIntegerRead-only
Number of TOC files present in the project
TOCManager methods
item
Description
Returns the TOC specified by the index.
Last updated 8/27/2012
ROBOHELP 10 SCRIPTING GUIDE
Classes
Returns
TOC
Syntax
item (index)
Parameters
Parameter nameData typeOptionalDescription
indexIntegerNoIndex for the TOC
newItem
Description
Creates a TOC in the current project.
Returns
TOC
37
Syntax
newItem (newTOCName, existingTOCFilePath)
Parameters
Parameter nameData typeOptionalDescription
newTOCNameStringNoName of the new TOC
existingTOCFilePathStringYesPath of an existing TOC file, which is copied
into the new TOC
IndexManager
Handles all index files in the current project.
IndexManager properties
Property nameData typeDescription
parentProjectRead-only
Project object
typenameStringRead-only
Class name of the reference object
countIntegerRead-only
Number of index files present in the project
Last updated 8/27/2012
ROBOHELP 10 SCRIPTING GUIDE
Classes
IndexManager methods
item
Description
Returns the index specified by the index.
Returns
Index
Syntax
item (index)
Parameters
Parameter nameData typeOptionalDescription
indexIntegerNoIndex for the index file
38
newItem
Description
Creates an index in the current project.
Returns
Index
Syntax
newItem (newIndexName, existingIndexFilePath)
Parameters
Parameter nameData typeOptionalDescription
newIndexNameStringNoName of the new index
existingIndexFilePathStringYesPath of an existing index file, which is copied
into the new index
Glossary
Handles specific glossary functions in the project.
Last updated 8/27/2012
ROBOHELP 10 SCRIPTING GUIDE
Classes
Glossary properties
Property nameData typeDescription
parentGlossaryManagerRead-only
Parent GlossaryManager object
nameStringRead-write
Name of the glossary
typenameStringRead-only
Class name of the reference object
previousGlossaryRead-only
Returns the previous glossary object
nextGlossaryRead-only
Returns next Glossary object
fileStatusFileStatusRead-only
Status of the file
validBooleanRead-only
Returns true if the file is present physically
39
extensionStringRead-only
File extension
locationStringRead-only
Path to the folder in which the file is present
pathStringRead-only
Absolute file path
sizeIntegerRead-only
File size in bytes
creationDateStringRead-only
Creation date of the file in (mm-dd-yyyy)
format
modifyDateStringRead-only
Last modified date of file in (mm-dd-yyyy)
format
Glossary methods
checkout
Description
Checks out the specified file from the version control system.
Returns
Boolean
Last updated 8/27/2012
ROBOHELP 10 SCRIPTING GUIDE
Classes
Syntax
checkout ()
checkin
Description
Checks in the specified file to the version control system.
Returns
Boolean
Syntax
checkin ()
getLatestVersion
Description
Gets the latest version of the specified file from the version control system.
40
Returns
Boolean
Syntax
getLatestVersion ()
undoCheckout
Description
Cancels the checkout of the specified file from the version control system.
Returns
Boolean
Syntax
undoCheckout ()
delete
Description
Deletes the specified glossary.
Returns
Boolean
Syntax
delete ()
Last updated 8/27/2012
ROBOHELP 10 SCRIPTING GUIDE
Classes
newItem
Description
Adds a new glossary term to the object.
Returns
Boolean
Syntax
newItem (name, value, overWriteFlag)
Parameters
Parameter nameData typeOptionalDescription
nameStringNoGlossary term name
valueStringNoGlossary term value
overWriteFlagBooleanNoFlag to overwrite the existing term value
The default value of the flag is false.
41
rename
Description
Renames the glossary.
Returns
Boolean
Syntax
rename (newName)
Parameters
Parameter nameData typeOptionalDescription
newNameStringNoNew name for the glossary
setAsDefault
Description
Sets the glossary object as the default glossary for the project.
Returns
Boolean
Syntax
setAsDefault ()
Last updated 8/27/2012
ROBOHELP 10 SCRIPTING GUIDE
Classes
GlossaryManager
Handles all glossary files in the current project.