03-22-2023, 04:12 PM
As Rick mentioned, looking at the SDK will show a macro called kAIExportCommandPreNotifierStr, which is what hdi_core uses under the hood for hdi::core:: ExportCommandPreNotifierType.
If the callback is not firing, then it's possible kAIExportCommandPreNotifierStr refers to some other menu item or that it's broken in the SDK / Illustrator itself. We don't use this notifier ourselves so I cannot comment on its reliability.
If you really want to dig down to find this stuff out you'll have to compile a sample project in the real AI SDK and try using the kAIExportCommandPreNotifierStr notifier manually.
If the callback is not firing, then it's possible kAIExportCommandPreNotifierStr refers to some other menu item or that it's broken in the SDK / Illustrator itself. We don't use this notifier ourselves so I cannot comment on its reliability.
If you really want to dig down to find this stuff out you'll have to compile a sample project in the real AI SDK and try using the kAIExportCommandPreNotifierStr notifier manually.