Documents
5 nodes
On this page 5
Activate Document
FunctionBring a document's tab forward.
Signature
ActivateDocument(document: Document)
void ActivateDocument(Document document)
Parameters
| name | type | default | description |
|---|---|---|---|
| document | Document | — |
- Ships with
- Divooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Documents
- Package
- Editor Automation
Active Document
FunctionThe 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
| name | type | default | description |
|---|---|---|---|
| _editor | IEditorAutomation | — |
Returns
| result | Document |
- Ships with
- Divooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Documents
- Package
- Editor Automation
Document Name
FunctionA document's name, as its tab reads.
Signature
DocumentName(document: Document) -> Text
string DocumentName(Document document)
Parameters
| name | type | default | description |
|---|---|---|---|
| document | Document | — |
Returns
| result | Text |
- Ships with
- Divooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Documents
- Package
- Editor Automation
Open Document
FunctionOpen 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
| name | type | default | description |
|---|---|---|---|
| _editor | IEditorAutomation | — | |
| path | Text | — |
Returns
| result | Document |
- Ships with
- Divooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Documents
- Package
- Editor Automation
Save Document
FunctionSave a document to its file, as Save does.
Signature
SaveDocument(document: Document)
void SaveDocument(Document document)
Parameters
| name | type | default | description |
|---|---|---|---|
| document | Document | — |
- Ships with
- Divooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Documents
- Package
- Editor Automation