scripting:api:script-application:detach-event