UiPath Documentation
activities
latest
false
Important :
Veuillez noter que ce contenu a été localisé en partie à l’aide de la traduction automatique. La localisation du contenu nouvellement publié peut prendre 1 à 2 semaines avant d’être disponible.

Activités de productivité

Replace Text in Presentation

UiPath.Presentation.Activities.FindAndReplaceTextInPresentation

Description

Remplace un texte spécifié dans une présentation par un autre texte. Cette activité doit être ajoutée à l'intérieur d'une activité Use PowerPoint Presentation .

Compatibilité du Projet

Windows - Héritage | Windows | Multiplateforme

Configuration for Cross-platform projects

Module Designer

  • 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.
  • Respecter la casse : si cette option est activée, seul des éléments textuels respectant une casse spécifique seront remplacés.
  • Mots entiers uniquement : si cette option est activée, seuls les mots entiers seront activés, et non des parties d'un mot plus long. Cette option est désactivée dans PowerPoint et dans Studio lorsque des caractères non alphanumériques sont utilisés.
  • Remplacer tout : si cette option est activée, remplace toutes les occurrences du texte recherché. Si elle n'est pas sélectionnée, seule la première occurrence sera remplacée.

Panneau propriétés

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

Configuration for Windows projects

Module Designer

  • Présentation : définissez un fichier PowerPoint dans lequel rechercher et remplacer le texte.
  • 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.

Panneau propriétés

Commun
  • DisplayName - The name displayed for the activity in the Designer panel.
Entrée
  • Voir les options dans le corps de l'activité.
Divers
  • Privé (Private) - Si cette option est sélectionnée, les valeurs des variables et des arguments ne sont plus enregistrées au niveau Détaillé (Verbose).
Sortie
  • Nombre de remplacements : si vous le souhaitez, vous pouvez enregistrer le nombre de remplacements effectués.

Configuration for Windows - Legacy

Commun

  • DisplayName - The name displayed for the activity in the Designer panel.

Entrée

  • 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:
    • Données du Bloc-notes du projet, d'un fichier Excel parent ou d'un compte de messagerie. Par exemple, sélectionnez la cellule d'un fichier Excel pour utiliser la valeur dans cette cellule.
    • Demander quand exécuté (Ask when run) : permet de demander un nom lorsque le projet est exécuté.
    • Coller à partir du presse-papiers (Paste from clipboard) : permet de coller une valeur que vous avez précédemment copiée dans le presse-papiers du projet.
    • Texte (Text) : saisissez le titre dans le générateur de texte.
    • 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:
    • Données du Bloc-notes du projet, d'un fichier Excel parent ou d'un compte de messagerie. Par exemple, sélectionnez la cellule d'un fichier Excel pour utiliser la valeur dans cette cellule.
    • Demander quand exécuté (Ask when run) : permet de demander un nom lorsque le projet est exécuté.
    • Coller à partir du presse-papiers (Paste from clipboard) : permet de coller une valeur que vous avez précédemment copiée dans le presse-papiers du projet.
    • Texte (Text) : saisissez le titre dans le générateur de texte.
    • 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.

Divers

  • Privé (Private) - Si cette option est sélectionnée, les valeurs des variables et des arguments ne sont plus enregistrées au niveau Détaillé (Verbose).

Sortie

  • 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.
    • Copier dans le presse-papiers
      • Enregistre la valeur renvoyée dans le Presse-papiers.
    • Enregistrer pour une utilisation ultérieure
      • Invite à fournir un nom pour enregistrer la valeur. Le nom pourra être modifié par la suite.
    • Open in Advanced Editor - Enter a VB expression.

Cette page vous a-t-elle été utile ?

Connecter

Besoin d'aide ? Assistance

Vous souhaitez apprendre ? UiPath Academy

Vous avez des questions ? UiPath Forum

Rester à jour