Edit

LoadFromScriptEditor

Automatically called:  Only when you click Activate in the Script Editor. The Load handler is called first, then LoadFromScriptEditor.

Use for:  To run a task manually in the script editor

Return value:  ignored

Example :

on LoadFromScriptEditor
    Alert("Hello World!")
end