UiPath Documentation
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.

Produktivitätsaktivitäten

Replace Text in Presentation

UiPath.Presentation.Activities.FindAndReplaceTextInPresentation

Beschreibung

Ersetzt einen angegebenen Text innerhalb einer Präsentation durch einen anderen Text. Diese Aktivität muss innerhalb einer Aktivität PowerPoint-Präsentation verwenden hinzugefügt werden.

Projektkompatibilität

Windows – Legacy | Windows | Plattformübergreifend

Plattformübergreifende Konfiguration

  • Presentation - The full path of the PowerPoint file to be used. If the PowerPoint file to be used is located in the project folder, its relative path can be used. Only String variables and strings are supported.
  • Find what - The text to be replaced. Only String variables and strings are supported.
  • Replace with - The text to replace with. Only String variables and strings are supported.
  • Match case – Wenn diese Option aktiviert ist, wird nur der Text ersetzt, der einer bestimmten Groß-/Kleinschreibung entspricht.
  • Whole words only – Wenn diese Option aktiviert ist, werden nur ganze Wörter anstelle von Teilen eines längeren Worts ersetzt. Diese Option ist in PowerPoint und in Studio deaktiviert, wenn nicht-alphanumerische Zeichen verwendet werden.
  • Replace All – Wenn diese Option aktiviert ist, werden alle Vorkommen des gesuchten Texts ersetzt. Wenn diese Option nicht ausgewählt ist, wird nur das erste Vorkommen ersetzt.

Eigenschaften

  • Number of replacements - The number of replacements that were made.

Windows-Konfiguration

Der Textkörper der Aktivität

  • Presentation – Legen Sie eine PowerPoint-Datei fest, in der der Text gesucht und ersetzt werden soll.
  • Find what - The text to be replaced. Only String variables and strings are supported.
  • Replace with - The text to replace with. Only String variables and strings are supported.
  • Match case - If selected, replaces only the text that matches specific capitalization.
  • Whole words only - If selected, replaces only entire words instead of parts of a longer word. This option is disabled in PowerPoint and in Studio when using non-alphanumeric characters.
  • Replace All - If selected, replaces all occurrences of the searched text. If not selected, only the first occurrence is replaced.
Allgemein
  • DisplayName - The name displayed for the activity in the Designer panel.
Eingabe
  • Siehe die Optionen im Textkörper der Aktivität.
Sonstiges
  • Privat (Private) - Bei Auswahl werden die Werte von Variablen und Argumenten nicht mehr auf der Stufe Verbose protokolliert.
Ausgabe
  • Number of replacements – Speichern Sie optional die Anzahl der vorgenommenen Ersetzungen.

Windows – Legacy-Konfiguration

Allgemein
  • DisplayName - The name displayed for the activity in the Designer panel.
Eingabe
  • Find what - Text to be replaced. Only String variables and strings are supported. Alternatively, in StudioX, select Plus on the right side of the field, and then select one of the options from the menu:
    • Daten aus dem Projekt-Notebook, einer übergeordneten Excel-Datei oder einem E-Mail-Konto. Wählen Sie beispielsweise eine Zelle in einer Excel-Datei aus, um den Wert aus dieser Zelle zu verwenden.
    • Bei Ausführung fragen – Fordert zur Eingabe des Namens auf, wenn das Projekt ausgeführt wird.
    • Aus Zwischenablage einfügen – Fügen Sie einen Wert ein, den Sie zuvor im Projekt in die Zwischenablage kopiert haben.
    • Text – Geben Sie den Titel in den Textgenerator ein.
    • Open in Advanced Editor - Enter a VB expression.
  • Presentation - Presentation in which to replace the text. In StudioX, select Plus on the right side of the field, and then select the presentation file in which to replace text. Alternatively, you enter a VB expression.
  • Replace with - The text to replace with. Only String variables and strings are supported. Alternatively, in StudioX, select Plus on the right side of the field, and then select one of the options from the menu:
    • Daten aus dem Projekt-Notebook, einer übergeordneten Excel-Datei oder einem E-Mail-Konto. Wählen Sie beispielsweise eine Zelle in einer Excel-Datei aus, um den Wert aus dieser Zelle zu verwenden.
    • Bei Ausführung fragen – Fordert zur Eingabe des Namens auf, wenn das Projekt ausgeführt wird.
    • Aus Zwischenablage einfügen – Fügen Sie einen Wert ein, den Sie zuvor im Projekt in die Zwischenablage kopiert haben.
    • Text – Geben Sie den Titel in den Textgenerator ein.
    • Open in Advanced Editor - Enter a VB expression.
  • Match case - Indicates whether to replace the text that only matches specific capitalization.
  • Whole words only - If selected, indicates that only entire words should be replaced. If not selected, text that is part of a larger word is also replaced. This option is not selected by default.
  • Replace all - If selected, indicates that all occurrences of the text should be replaced. If not selected, only the first occurrence of the text is replaced. This option is selected by default.
Sonstiges
  • Privat (Private) - Bei Auswahl werden die Werte von Variablen und Argumenten nicht mehr auf der Stufe Verbose protokolliert.
Ausgabe
  • Number of replacements - Optionally, save the number of replacements made. In StudioX, select Plus on the right side of the field, and then select one of the options from the menu:
    • Excel - Saves the value to a cell in an Excel file or the Project Notebook.
    • In Zwischenablage kopieren
      • Speichert den zurückgegebenen Wert in die Zwischenablage.
    • Für die spätere Verwendung speichern
      • Fordert Sie auf, einen Namen anzugeben, um den Wert zu speichern. Der Name kann nachträglich geändert werden.
    • Open in Advanced Editor - Enter a VB expression.

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