Adobe 65030089 Scripting Guide - Page 26

SnippetManager

Page 26 highlights

Parameters Parameter name title css Data type String String Optional Yes Yes desc String importItem Description Imports a master page into the current project. Returns MasterPage Syntax importItem (filePath) Parameters Parameter name filePath Data type String SnippetManager Handles all snippets in the current project. SnippetManager properties Property name parent Data type Project typename String count Integer Yes Optional No ROBOHELP 8 SCRIPTING GUIDE 22 Classes Description Title of the master page The filename for the master page is also same as the title. CSS 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. Description Description Absolute path of the master page to import Description Read-only Project object Read-only Class name of the reference object Read-only Number of snippets present in the project

  • 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

22
ROBOHELP 8 SCRIPTING GUIDE
Classes
Parameters
importItem
Description
Imports a master page into the current project.
Returns
MasterPage
Syntax
importItem (filePath)
Parameters
SnippetManager
Handles all snippets in the current project.
SnippetManager properties
Parameter name
Data type
Optional
Description
title
String
Yes
Title of t
h
e master page
T
h
e filename for t
h
e master page is also same
as t
h
e title.
css
String
Yes
CSS to attac
h
T
h
e pat
h
of t
h
e CSS file must be relative to t
h
e
project pat
h
. If t
h
is parameter is null, no CSS is
attac
h
ed. If t
h
is parameter is not specified or is
empty, t
h
e default CSS of t
h
e project is
attac
h
ed.
desc
String
Yes
Description
Parameter name
Data type
Optional
Description
filePath
String
No
Absolute pat
h
of t
h
e master page to import
Property name
Data type
Description
parent
Project
Read-only
Project object
typename
String
Read-only
Class name of t
h
e reference object
count
Integer
Read-only
Number of snippets present in t
h
e project