Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter EighteenDataView Integration (continued)

on_file_export

Overview

The on_file_export event is called when the user selected File | Export | Export File ribbon or menu function.

Syntax/Parameters

Syntax

int on_file_export ( string filename ) { ... }

Parameters

filename

The filename to export or if empty, the hook is expected to query.

Return Value

The function is expected to complete the process. An error code can be returned but is presently ignored.

Remarks

To enable the ribbon or menu function, the hook on_menu_init() must return the bit FV_FILE_EXPORT.

Related Events and Functions

Page revised 2024-04-22