Some content on this site is available only to logged-in subscribers. Contact Us for information on becoming a subscriber.

InSource.Solutions | InSource Training | InSource Client Portal
InSource Solutions Logo
Log In Sign Up
InSource.Solutions InSource Training InSource Client Portal Log In Sign Up
  • Home
  • AVEVA InTouch
  • AVEVA InTouch Documentation

TN 1284 Minimize And Maximize InTouch View Dynamically

Last updated: March 9th, 2025

Description

  • Author: Mario Meza
  • Published: March 9th, 2025

Details:

Description

This article from InSource shows an option for dynamically minimizing and restoring InTouch view. 

  • Author: Mario Meza
  • Published: 09/19/2022
  • Applies to: InTouch 2014 R2 SP1

Details

There isn't a built in way to dynamically update window viewer features (such as minimize & maximize buttons). However you can call a .bat file that calls a Powershell script that minimizes / restores view.

For example place a button with an action script that calls the.bat file 

StartApp("C:\Users\dNichi\Desktop\MinAll.bat");

The bat file then calls the Power shell script.

START "" powershell -NoLogo -WindowStyle Hidden -ExecutionPolicy Bypass -Command "C:\Users\dNichi\Desktop\minAll.ps1"

The Power shell script then minimizes all windows.
$shell = New-Object -ComObject "Shell.Application"
$shell.minimizeall()

You can restore the minimized windows with the following power shell script likely based off a condition script or....

Restore
$shell = New-Object -ComObject "Shell.Application"
$shell.undominimizeall()

This script will minimize and restore based on the sleep interval. 
Minimize & Restore with a Delay
$shell = New-Object -ComObject "Shell.Application"
$shell.MinimizeAll()
start-sleep -Seconds 5
$shell.undominimizeall()

 

optimize adjust
Give feedback about this article

Recommended articles

TN 1321 Unable to activate license with message "Unable to communicate with the Activation Server." For only one license serial number.

Read More

Intouch_features

Read More
Support Icon

CONTACT SUPPORT

How to reach us

10800 Midlothian Turnpike Tpke, Suite 209, Richmond, VA 23235

1.877.INSOURCE

Technical Support - 1.888.691.3858

Contact Us

  • InSource Solutions
  • InSource Training
  • InSource Client Portal
  • Log In
InSource Solutions Logo

© 2025 InSource Solutions. All Rights Reserved.

Knowledge Base Software powered by Helpjuice

Expand