activities
latest
false
Wichtig :
Bitte beachten Sie, dass dieser Inhalt teilweise mithilfe von maschineller Übersetzung lokalisiert wurde. Es kann 1–2 Wochen dauern, bis die Lokalisierung neu veröffentlichter Inhalte verfügbar ist.
UiPath logo, featuring letters U and I in white

Produktivitätsaktivitäten

Letzte Aktualisierung 2. März 2026

Bearbeiten von Word-Dokumenten

Im folgenden Beispiel wird erklärt, wie der Text aus einer Word-Datei gelesen, in ein anderes Dokument geschrieben, ein Bild hinzugefügt und von Word in PDF konvertiert wird, indem Aktivitäten wie Word Application Scope / Use Word File,Read Text, Append Text, Bild hinzufügen oder Dokument als PDF speichern. Diese Aktivitäten finden Sie im Paket UiPath.Word.Activities .

Hinweis:

Download the example presented on this page in order to have access to all the files needed as Input for the explained workflow.

So kann der Automatisierungsprozess erstellt werden:

  1. Öffnen Sie Studio und erstellen Sie einen neuen Prozess.
  2. Ziehen Sie einen Sequence-Container in den Workflow-Designer.
    • Erstellen Sie die folgenden Variablen:

      VariablennameVariablentypStandardwert
      sourceDocumentString"Raw Text.docx"
      destinationDocumentString"About Samoyed.docx"
      rawTextFromSourceStringKeine Angabe
  3. Drag a Word Application Scope activity inside the Sequence container.
    • Add the variable sourceDocument in the Document path field.
  4. Drag a Read Text activity inside the Word Application Scope activity.
    • Fügen Sie die Variable rawTextFromSource in das Feld Text ein.
  5. Drag a Word Application Scope activity below the previous Word Application Scope activity.
    • Add the variable destinationDocument in the Document path field.

    • Select the Do container and create the following variables:

      VariablennameVariablentypStandardwert
      picturePathString"Samoyed Picture.jpg"
      exportedDocToPdfString"About Samoyed.pdf"
  6. Drag an Append Text activity inside the Do container of the Word Application Scope activity.
    • Fügen Sie die Variable rawTextFromSource in das Feld Text ein.
  7. Drag an Add Picture activity below the Append Text activity.
    • In the Properties panel, add the variable picturePath in the PicturePath field.
  8. Drag an Export To PDF activity below the Add Picture activity.
    • Add the variable exportedDocToPdf in the File path field.
  9. Führen Sie den Prozess aus. Der Roboter liest den Text aus einem Dokument, schreibt ihn in ein anderes Dokument und fügt ein Bild hinzu. und konvertiert sie von Word in PDF.

War diese Seite hilfreich?

Verbinden

Benötigen Sie Hilfe? Support

Möchten Sie lernen? UiPath Academy

Haben Sie Fragen? UiPath-Forum

Auf dem neuesten Stand bleiben