Adobe 65030089 Scripting Guide - Page 27

SnippetManager methods

Page 27 highlights

SnippetManager methods item Description Returns the snippet specified by the index. Returns Snippet Syntax item (index) Parameters Parameter name index Data type Integer newItem Description Creates a snippet in the current project. Returns Snippet Syntax newItem (snippetName) Parameters Parameter name snippetName Data type String importFile Description Imports an existing snippet into the current project. Returns Snippet Syntax importFile (snippetFilePath) Optional No Optional No ROBOHELP 8 SCRIPTING GUIDE 23 Classes Description Index for the snippet Description Name of the snippet

  • 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

23
ROBOHELP 8 SCRIPTING GUIDE
Classes
SnippetManager methods
item
Description
Returns the snippet specified by the index.
Returns
Snippet
Syntax
item (index)
Parameters
newItem
Description
Creates a snippet in the current project.
Returns
Snippet
Syntax
newItem (snippetName)
Parameters
importFile
Description
Imports an existing snippet into the current project.
Returns
Snippet
Syntax
importFile (snippetFilePath)
Parameter name
Data type
Optional
Description
index
Integer
No
Index for t
h
e snippet
Parameter name
Data type
Optional
Description
snippetName
String
No
Name of t
h
e snippet