mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-26 12:21:08 +01:00
Object › Plug-ins now starts with Apply Last Filter (plugin.applyLastFilter) and Last Filter… (plugin.lastFilter). Once a filter plug-in's plugin.run succeeds (its menu item, its dialog's OK, a shortcut, a request, the last plugin.run step of a command.batch or of an Action Batch that processed a file or data set, or a background run once its result is applied), Apply <name> runs it again on the selection with the same parameters, without its dialog, as one undo step, and <name>… opens its dialog with those parameters. A filter's own dialog opens with the parameters it last ran with in the session. Previews, Cancel, failed runs, a plug-in's own commands and live effects don't count. Both items are grayed out, and return an error through automation, with no document open, before a filter ran, once that filter was removed or installed again, or when its manifest no longer takes the parameters as they are. The parameters are kept for the session only, for at most 64 filters. The help page describes the same pair for filters: https://help.adobe.com/archive/en_US/illustrator/cs3/illustrator_cs3_help.pdf#page=357 Where the items sit and when they are grayed out are VectorCraft's own rules. Docs: docs/plugins.md, docs/mcp.md, docs/target-app-parity.md.