Adobe 65030089 Scripting Guide - Page 10

getCurrentProject, closeProject, newProject

Page 10 highlights

ROBOHELP 8 SCRIPTING GUIDE 6 Classes Parameters Parameter name fullFilePath Data type String Optional No Description Full path to the file that you want to open getCurrentProject Description Returns the active project object. Returns Project Syntax getCurrentProject () closeProject Description Closes the active project. Note: Unsaved topic files are not saved. Returns String Syntax closeProject () newProject Description Creates a project. Returns Project Syntax newProject (template, projectName, projectPath, title, firstTopic, language, saveSettings)

  • 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

6
ROBOHELP 8 SCRIPTING GUIDE
Classes
Parameters
getCurrentProject
Description
Returns the active project object.
Returns
Project
Syntax
getCurrentProject ()
closeProject
Description
Closes the active project.
Note:
Unsaved topic files are not saved.
Returns
String
Syntax
closeProject ()
newProject
Description
Creates a project.
Returns
Project
Syntax
newProject (template, projectName, projectPath, title, firstTopic, language, saveSettings)
Parameter name
Data type
Optional
Description
fullFilePath
String
No
Full pat
h
to t
h
e file t
h
at you want to open