I try to create some post-processing filter. I want ot know is user select ok in export dialog.
The endDialog function not works as described in "Initialization and termination functions for the Export dialog". No Second parameter ever passed. "endDialog = function( propertyTable, why ) ... end," why is always nil. Can i determine the action of the dialog in other way? May be some global variables or some propertyTable field?
This is a bug in the SDK. I was able to reproduce the issue, the endDialog function receives only one argument - propertyTable.
Unfortunately, there is no other way to know how the export dialog was ended. However, if you are designing a post-processing plugin, you don't need to know that - your post-processing code will only be invoked if the user presses the "Export" button.
This is actual only if i have only one dialog or all my post processing actions are independant. It is not true in my case.
Anyway thank for an answer.