Skip to main content

Terminate App

Octory PRO
Element type: Dictionary Availability: 2.0.6+

Terminate the application.

Keys

NameTypePossible valuesRequired
TypeStringTerminateAppRequired
ConditionDictionary (Condition)-

Detail

Type Required

Type: String
Explanation: The type of the action has to be TerminateApp.

Condition

Type: Dictionary (Condition)
Explanation: Allows launch the action only based on a boolean expression.

Example

Terminate the app.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<!-- ... -->
<key>ActionSets</key>
<array>
<dict>
<key>Type</key>
<string>Parallel</string>
<key>Triggers</key>
<array>
<string>Custom(closeApp)</string>
</array>
<key>Actions</key>
<array>
<dict>
<key>Type</key>
<string>TerminateApp</string>
</dict>
</array>
</dict>
</array>
<!-- ... -->
</dict>
</plist>