ApplesauceOS
Read Markdown ↗Download .md

appKill

Request termination of an app.

js
appKill(bundleId)

Arguments

ArgumentTypeMeaning
bundleIdstringTarget app identifier.

Returns

Boolean request result.

Example

js
console.log(appKill("com.example.app"));

Notes

Replace the example bundle ID. Unsaved state may be lost.

All JavaScript APIs · Automation playbook