Skip to main content

[Windows] Close Application

Description

Trigger a closing event of the running application on the Windows system. This action is similar to pressing ALT + F4 and does not force the application to close.

If there is a pop-up confirmation, you need to take some extra steps to actually close it.

Keyword name: closeApplication

Example

"Start the note pad application"
Windows.startApplication('C:\\Windows\\System32\\notepad.exe')

"Close note pad application"
Windows.closeApplication()
Was this page helpful?