Application and Window Handling

Find Application

The activity finds window in an application and takes over it. The activity allows you to define application's custom internal name for further use. This way there is no need to start a new instance by using Run Application activity.
Fill in the internal application name. Fill in the Windows Name textbox - it could be only the fragment of the document name, but must be unique among all opened documents. GUI Element is an optional identifier to distinguish between similar windows.

Parameter nameParameter TypeIn/OutDescription
Alternative Scenario If FailedBooleanInputcheckbox; default is "on"
Application nameStringInputcustom internal name for application in which the action is taken, in order to use in Wizlink®
DisplayNameLiteralInputyou can change the name of activity for greater clarity of the scenario
Retry timeout [s]DoubleInputwaiting time until the activity will execute: 1. any negative value means try once, if you fail – set Result to False and finish activity; 2. “0” means try until you get the effect; 3. any positive value is time in seconds in which the activity will persist trying until successful or the time elapses, if failed – set Result to False and finish activity
Window TitleStringInputsearching criteria: name (or unique name part) of the window
ResultBooleanOutputreturns the Boolean value: it will return True if no error is in activity, otherwise it will return False
Result CodeInt32OutputResult Code will return 0 if there is no error in activity, otherwise in most cases it will return 1, the extended result code will show only in several chosen activities