Adobe 65030089 Scripting Guide - Page 24

newItem, importItem

Page 24 highlights

Syntax item (index) Parameters Parameter name index Data type Integer newItem Description Creates a topic in the current project. Returns Topic Syntax newItem (topicTitle, fileName, language) Parameters Parameter name topicTitle fileName language Data type String String Integer constant importItem Description Imports an HTML file into the current project. Returns Topic Syntax importItem (filePath, folderName) Parameters Parameter name filePath folderName Data type String String Optional No Optional No No No Optional No No ROBOHELP 8 SCRIPTING GUIDE 20 Classes Description Index for the topic Description Title of the topic Filename of the topic Language of topic Description Absolute path of the HTML file to import Relative path of the folder in the current project in which the HTML file is to be imported

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98

20
ROBOHELP 8 SCRIPTING GUIDE
Classes
Syntax
item (index)
Parameters
newItem
Description
Creates a topic in the current project.
Returns
Topic
Syntax
newItem (topicTitle, fileName, language)
Parameters
importItem
Description
Imports an HTML file into the current project.
Returns
Topic
Syntax
importItem (filePath, folderName)
Parameters
Parameter name
Data type
Optional
Description
index
Integer
No
Index for t
h
e topic
Parameter name
Data type
Optional
Description
topicTitle
String
No
Title of t
h
e topic
fileName
String
No
Filename of t
h
e topic
language
Integer constant
No
Language of topic
Parameter name
Data type
Optional
Description
filePath
String
No
Absolute pat
h
of t
h
e HTML file to import
folderName
String
No
Relative pat
h
of t
h
e folder in t
h
e current
project in w
h
ic
h
t
h
e HTML file is to be
imported