This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ' ===== MINIMAL XAML TO JSON ===== | |
| Option Explicit | |
| Dim fso, xml, inputFile, jsonOutput, outputFile | |
| Set fso = CreateObject("Scripting.FileSystemObject") | |
| If WScript.Arguments.Count = 0 Then | |
| MsgBox "Drag & drop a .xaml file onto this script.", vbExclamation | |
| WScript.Quit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ' ============================================================ | |
| ' UiPath XAML Activity Renamer | |
| ' Usage: cscript rename_assigns.vbs "YourFile.xaml" | |
| ' Output: overwrites YourFile.xaml (original backed up as xYourFile.xaml) | |
| ' Idempotent: safe to run multiple times on the same file. | |
| ' | |
| ' ── WHAT IT DOES ──────────────────────────────────────────── | |
| ' | |
| ' 1. ACTIVITY DISPLAY NAME RENAMING | |
| ' Appends the key variable/value to each activity DisplayName |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 6249 | |
| 9426 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 2 9 0 8 | |
| 4 5 9 6 | |
| 6 7 1 3 | |
| 8 1 2 5 |