pass trigger to extension
There are different ways to invoke an extension: using the extensions' dialog, or by using the Alt+Q shortcut to apply the same extension again.
For some workflows, it would be useful for the extension to know whether it was invoked through the dialog or through Alt+Q: for example, for a plugin that allows assigning sequential id's to objects, Alt-Q could assign the 'next' id to the selected object, while the 'Apply' button on the dialog would 'reset' the counter to the value specified in the dialog.
This could be achieved by setting an INKEX_TRIGGER
environment variable when invoking the extension.
Edited by Arnout Engelen