add_incomingvalue_last_lineofscript
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| add_incomingvalue_last_lineofscript [2025/05/20 13:04] – wikiadmin | add_incomingvalue_last_lineofscript [2025/05/20 13:52] (current) – [How to add incomingValue; to every script in a .tsx (TransSECS project file)] wikiadmin | ||
|---|---|---|---|
| Line 49: | Line 49: | ||
| - Exit TransSECS (TransSECS should not be running) | - Exit TransSECS (TransSECS should not be running) | ||
| - On Windows use Notepad++ to load the project tsx. You can change the language to XML, but this is not necessary | - On Windows use Notepad++ to load the project tsx. You can change the language to XML, but this is not necessary | ||
| - | < | + | < |
| ==First Pass: replace all existing " | ==First Pass: replace all existing " | ||
| Line 56: | Line 56: | ||
| - Set up the Replace: | - Set up the Replace: | ||
| * Search Mode: Regular Expression | * Search Mode: Regular Expression | ||
| - | * Find what: (; | + | * Find what:< |
| - | * Replace with: \1< | + | * Replace with:< |
| - Execute the replace: Click Replace All | - Execute the replace: Click Replace All | ||
| Line 66: | Line 66: | ||
| - | ==Second Pass: add new incomingValue; | + | ==Second Pass: add new incomingValue; |
| - Set up the Replace: | - Set up the Replace: | ||
| * Search Mode: Regular Expression | * Search Mode: Regular Expression | ||
| - | * Find what: (?< | + | * Find what: < |
| - | * Replace with: incomingValue; | + | * Replace with: incomingValue;</ |
| - Execute the replace: Click Replace All | - Execute the replace: Click Replace All | ||
| + | - | ||
| + | {{: | ||
| - | {{: | + | On this last pass you can add a comment to the replacement line, such as incomingValue;< |
| - | + | ||
| - | + | ||
| + | Note: the OK comment | ||
| + | This procedure should help you modify projects using scripts in which there is no output at the end of the script. However, it is good to do a quick check of your project after these changes. Also there can be some casese where incomingValue; | ||
add_incomingvalue_last_lineofscript.1747760672.txt.gz · Last modified: by wikiadmin
