Use the CloseMainWindow component
Closes any Windows application by providing the Process ID as input.
시작하기 전에
Role required: none
이 태스크 정보
You can configure the properties for the CloseMainWindow component. For more information about these properties, see Properties of the System Process components.
프로시저
예
As part of your automation workflow, after you have opened an app, such as Windows Terminal and ran a command on it, you can close the app window by providing the process ID in the CloseMainWindow component.
Add the Start App component and GetWindowProcessID component before the CloseMainWindow component and connect the ports as shown in the image.
For more information about these components, see Use the Start App component and Use the GetWindowProcessID component.