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 Application Server
  • AVEVA Application Server Tech Notes

TN Appsvr221 Opening External Applications from an ArchestrA Graphic Object

Last updated: March 7th, 2025

Description

  • Author: Brian Schneider
  • Published: March 7th, 2025

Details:

Description

This article from InSource shows how to open an external application such as Internet Explorer, Notepad, or the Windows Calculator from an Application Server ArchestrA graphic object.

  • Author: Peter Farrell
  • Published: 02/01/2017
  • Applies to: Industrial Application Server all versions to date

Details

It has always been possible to create a button in an InTouch classic Window which uses an InTouch script function to open an external application such as Internet Explorer, Notepad, or the Windows Calculator. A popular method has been, and still is, to use the InTouch native StartApp() function to call the external application (see example in Figure 1 below). However, the StartApp() function commonly used to achieve this does not exist within an Application Server Galaxy. This is an InTouch native script function and it does not migrate to a Galaxy based ArchestrA graphic.

Figure 1

Ideally, in a managed application environment, it would be optimal for this functionality to be a part of a Galaxy hosted object which could be deployed and reused from the ArchestrA Graphics Library. One solution is to use the Dot Net scripting capability built into the Application Server Galaxy.

From within the ArchestrA IDE navigate to the ArchestrA Graphics toolbox and create a new symbol. In this example, a new symbol called “Start_External_App_Button” was created. Using the Tools pallet of prebuilt objects, the Button object was selected and placed on the symbol editor area (see Figure 2 below).

Figure 2

Right click on the new button, and from the popup pane select “Edit Animations” (see Figure 3 below).

Figure 3

Click the plus symbol to create a new animation and select “Action Scripts” (see Figure 4 below).

Figure 4

In this example, we are using an “On Left Click/Key Down” trigger and the following use of a Dot Net script function in the body of the script as shown in figure 5 below:

System.Diagnostics.Process.Start("iexplore.exe");

Click “OK”

Figure 5

After saving your new Symbol, you can now embed it into your WindowViewer application and open an external application. This new symbol is available in your ArchestrA Graphics library and can be reused and deployed as often as you wish. Since this is a Dot Net script, further enhancement of this scripting can expand the capability and flexibility of the object.

Figure 6

external launch archestra object
Give feedback about this article

Recommended articles

TN - 1240 Creating a Watchlist Using an Import File

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