Import a window
- Last UpdatedJul 26, 2024
- 1 minute read
You can import a window into an InTouch application. The full file path to the XML file containing a single InTouch window's specification is required. The new window name is contained within the XML file.
The window is not imported if:
-
A window with the same name exists in the application.
-
An unresolved error occurs in one of the window scripts.
-
An unresolved error occurs trying to add any part of an object to the window.
User interaction may be required if:
-
Elements specified in scripts or expressions contain errors or are missing.
-
Scripts contain syntax errors.
It is possible that nothing is shown to allow a user to correct the problem. Examine the log file and the Logger for details.
You enter a sequence of commands in your command file to import a window.
For example:
.WINDOWCREATE
.XMLFILEPATH=C:\WMCommandTest\WMCreateFile.Xml
.GO
A command file may contain more than one import window command and several create window command sequences.