If a script add-in implements the OnDeleteScript event, the method receives a DeleteScriptData object when the script is deleted by the user.

Property Name Return Type Description

file

string

Returns the full pathname of the script file being deleted.