Word Get Property
Word Get Property
Section titled “Word Get Property”Type: word-get-property · Package: Word Activities v1.0.0 · Output: object
Reads a metadata (property) of the document: its title, author, subject, creation or modification dates, etc. Useful for classifying or auditing documents based on their information.
How it works
Section titled “How it works”Returns the value of the property indicated in property. Accepts session or path — see the two modes.
Required parameters
Section titled “Required parameters”| Parameter | Editor | Description |
|---|---|---|
property | list | Property to read: Title · Author · Subject · Description · Keywords · Category · Created · Modified. |
Optional parameters
Section titled “Optional parameters”| Parameter | Editor | Description |
|---|---|---|
session | session | Word Open session (instead of path). |
path | expression | Route to .docx (fast mode). |
Output
Section titled “Output”Returns a object with the property value.
Example
Section titled “Example”Word Get Property path = = ruta property = Author → output: autorLog message = = "Documento creado por: " + str(autor)Related activities
Section titled “Related activities”- Word Set Property — assign a property.
- Word Read Text — read the content.