Divooka Reference

Documents

5 nodes

On this page 5

Activate Document

Function

Bring a document's tab forward.

Signature
ActivateDocument(document: Document)
void ActivateDocument(Document document)

Parameters

nametypedefaultdescription
documentDocument—
Ships with
Divooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Documents
Package
Editor Automation

Active Document

Function

The document the run works on: the one in front - or, while this document is in front, the one in front before it.

Signature
ActiveDocument(_editor: IEditorAutomation) -> Document
Document ActiveDocument(IEditorAutomation _editor)

Parameters

nametypedefaultdescription
_editorIEditorAutomation—

Returns

resultDocument
Ships with
Divooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Documents
Package
Editor Automation

Document Name

Function

A document's name, as its tab reads.

Signature
DocumentName(document: Document) -> Text
string DocumentName(Document document)

Parameters

nametypedefaultdescription
documentDocument—

Returns

resultText
Ships with
Divooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Documents
Package
Editor Automation

Open Document

Function

Open a document - or find it open already - and bring it forward. A relative path is read from this document's folder.

Signature
OpenDocument(_editor: IEditorAutomation, path: Text) -> Document
Document OpenDocument(IEditorAutomation _editor, string path)

Parameters

nametypedefaultdescription
_editorIEditorAutomation—
pathText—

Returns

resultDocument
Ships with
Divooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Documents
Package
Editor Automation

Save Document

Function

Save a document to its file, as Save does.

Signature
SaveDocument(document: Document)
void SaveDocument(Document document)

Parameters

nametypedefaultdescription
documentDocument—
Ships with
Divooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Documents
Package
Editor Automation