Rename a window
- Last UpdatedJul 26, 2024
- 1 minute read
You can change the name of a window in an InTouch application.
You enter a sequence of commands in your command file to rename a window from an InTouch application. A command file can include several rename window command sequences.
An error message does not appear if the window selected to be renamed does not exist.
If the new window name already exists, nothing is done, and a warning message is logged.
If the old name exists and the new name does not exist, but the rename fails for some other reason, an error message is logged.
No user interaction is required. Warnings and error messages appear in the Logger.
If you rename a window with the name of an existing window, a warning message is logged in the log file or the Logger. In the following example, renaming the Window005 to an existing window Window006, logs a warning message in the log file or the Logger.
.WINDOWRENAME
.OLDWINDOWNAME=Window005
.NEWWINDOWNAME=Window006
.GO