Skip to content

Script Authoring in AGENT

CODE is now a script-authoring capability inside AGENT, not a separate selectable mode. Ask for a new script or an edit in ordinary language. AGENT resolves the target, reads the evidence it needs, and chooses the correct response for your access level.

The free version gives you the complete useful answer as human-readable FileMaker script steps, options, calculations, assumptions, and manual implementation guidance. It does not expose Script Schema, AST, raw XML, native clipboard objects, Preview, Copy, Create, or Apply.

Coding Access can turn the same request into a structured native script artifact. When the request and target are clear, Genie can present reviewed actions such as Preview, Copy, Create, or Apply.

  1. Open AGENT and describe the script you want.
  2. If an open or attached script is a reference, say that you want a new script based on it.
  3. AGENT reads the relevant source without treating it as the edit target.
  4. Review the proposed script and any assumptions.
  5. With Coding Access, use the native review card to preview, copy, or create it.
  1. Name the script, refer explicitly to the current script, or use Add Selection.
  2. Describe the exact change and the intended behavior.
  3. If the named target conflicts with the selected script, choose the correct identity when Genie asks.
  4. Review the result before using Copy or Apply.

For a single-script delta, the script name and ID remain one atomic target. Workbench Apply acts only on the script the user has open and never selects or switches scripts.

  • Genuine compile or structural faults produce a warned draft and should be reviewed before use.
  • A script-step target that FileMaker can resolve by name is not blocked only because its numeric reference ID is unavailable.
  • Diagnostics stay out of the clean review card unless the artifact is genuinely warned.
  • If complete script text is needed, AGENT reads the smallest exact range instead of inventing omitted calculations.
  • Copy prefers a complete merged script object after merge composition succeeds.
  • Apply has its own stricter validation and recovery contract.
  • Current-script Apply never selects or switches scripts.
  • If FileMaker accepts a paste but Genie cannot verify the outcome, inspect Script Workspace before retrying.

QuickCode remains a separate, bounded Script Workspace shortcut for an explicit sealed selection. Broader work should continue in AGENT.