task: evaluates to the currently mentioned task record
app: evaluates to Editor.app
strings: evaluates to a list of commonly used, already translated strings for messages related to the performed tasks
Depending on what should happen in the callback, a destruction of the loaded app may be necessary.
window.location.href = "NEW LOCATION"
this may not work. Therefore a Editor.app.destroy(); must be prepended:
Check if current task is exportable