Word Set Property
Word Set Property
Section titled “Word Set Property”Type: word-set-property · Package: Word Activities v1.0.0
Assigns a metadata (property) of the document: title, author, subject, keywords, etc. Useful when generating documents to leave them with their correct information (author, title), or to classify them.
How it works
Section titled “How it works”Assigns value to the property indicated in property. Accepts session or path (in path mode, opens, assigns and saves automatically).
Required parameters
Section titled “Required parameters”| Parameter | Editor | Description |
|---|---|---|
property | list | Property to set: Title · Author · Subject · Description · Keywords · Category · Created · Modified. |
value | expression | Value to assign. |
Optional parameters
Section titled “Optional parameters”| Parameter | Editor | Description |
|---|---|---|
session | session | Word Open session (instead of path). |
path | expression | Path to .docx (quick mode: open, assign and save only). |
Example
Section titled “Example”Word Create path = = rutaInforme └─ body: Word Set Property property = Title value = "Informe Mensual" Word Set Property property = Author value = "Bot de Reportes" Word Append Paragraph text = "Informe Mensual" style = TitleRelated activities
Section titled “Related activities”- Word Get Property — read a property.
- Word Create — create the document.