Importing Scripts
- Last UpdatedApr 08, 2022
- 2 minute read
You can import existing QuickScripts from an InTouch application into your current application to save development time.
You must convert an application to the current version of the InTouch HMI software before you can import scripts.
By default, placeholders are created for the tags associated with an imported QuickScript. After importing, you can convert the placeholders to local tags or remote tag references. For more information, see Tag Placeholders for Imported Windows and Scripts. If the associated tags already exist in the target application, during the import you can choose to use these instead.
To import a window script, you must import the entire window.
For an imported ActiveX Event script to function properly in the target application, the same ActiveX control and the same event for which the script was originally created must also be used in the target application and it must be loaded into memory. If the window containing an ActiveX control is closed, any scripts associated with it (either ActiveX Event scripts or QuickScripts) do not run properly.
To import a QuickScript
-
Close all windows in your current application.
-
On the File menu, click Import, click Visualization, and then click Windows and Scripts.
The Open Folder dialog box appears.
-
Select the folder for the application that contains the scripts to import.
-
Click OK. The Application Data Import Options dialog box appears.

-
Select the check box for the Qucik Function type(s) that you want to import and then click Select to select the individual script(s) to import.
Note: To import a window script, you must import the entire window. For more information, see Importing Windows.
-
Select the Use Existing Tags check box if the tags associated with the imported script(s) already exist in your application and you want to use them instead of placeholders.
-
Click Import. If your application has scripts with identical names, you are prompted to overwrite, skip, or rename.
-
Convert the placeholder tags to either local tags or remote tag references. For more information, see Converting Placeholder Tags in an Imported Script.