mirror of
https://github.com/aphrody-labs/effectcraft.git
synced 2026-10-14 03:29:02 +00:00
EffectCraft's extension points compared with After Effects' (public user guide and Scripting Guide) are now in docs/plugins.md, which becomes "Plug-ins and extensions": scripts, ScriptUI panels and effect plug-ins, with a short guide and an example panel for writing your own. ScriptUI panels already came from `Scripts/ScriptUI Panels/` in the settings folder, were listed at the bottom of the Window menu and docked as tabs. What was missing: After Effects reopens the panels that were open when it quit. Now the open panels are remembered in `scriptui_panels.json` in the settings folder (a panel is added when it opens and dropped when its tab or its script closes it; quitting leaves the list), and `window.restoreScriptPanels` opens them again; the desktop and web apps run it at start-up. A panel whose script is gone or fails is reported and forgotten, and the others still open. Where a panel was docked isn't kept, as workspace layouts aren't saved between launches. Gaps recorded in plugins.md and gaps.md G8: the Startup and Shutdown script folders, keyboard shortcuts for scripts, ExtendScript's `#include` / `#target` directives and `.jsxbin`. Test: open_panels_open_again_at_the_next_launch (fails before: no restore command), a_panel_dropped_in_the_folder_is_listed_and_opens_as_a_panel (script), panels_open_at_quit_dock_again_at_launch (UI: the restored panel docks with its controls; closing the tab forgets it). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>