The OnScriptColumn event is the entry point for a custom column added by a script add-in. The actual name of the event is defined by the script itself, when the command is added via the ScriptInitData.AddColumn method - OnScriptColumn is merely a placeholder name.
Method Name: | OnScriptColumn |
---|---|
Argument Type: |
|
Return Type: |
none |
Description: |
When a script add-in adds a new column using ScriptInitData.AddCommand, it specifies the name of its entry point with the ScriptColumn.method property. When Opus wants to retrieve the value of the column for a particular file or folder, Opus will call that method within your script. The return value from this event is ignored - instead, you should return the column data (and optionally, sorting and grouping information) by setting the appropriate values in the ScriptColumnData object. |