Script Workspace Actions
Genie includes direct Script Workspace tools so you can capture, edit, and apply script content without leaving FileMaker.

Toolbar actions
Section titled “Toolbar actions”1. Copy XML
Section titled “1. Copy XML”- Reads the current selection and converts it to XML.
- Use when you need raw script XML for review or sharing.
2. Paste XML
Section titled “2. Paste XML”- Applies XML from the clipboard into Script Workspace.
3. Edit XML
Section titled “3. Edit XML”- Opens the built-in XML editor for quick manual changes.
4. AI button
Section titled “4. AI button”- Opens the full Genie UI for generation and analysis.
Once Genie is open, use Add Selection to capture the current live Script Workspace selection or current script, and use Add Scripts when you want broader attached-script context from multiple open tabs.
Note: there is no dedicated View button in the Script Workspace toolbar. Read-only viewing is available from context badges and Preview Code in chat.
Native apply and progress
Section titled “Native apply and progress”When applying code from Genie, the system uses native operations that target your Script Workspace directly:
- Apply Progress: Shows an animated Applying… indicator while changes are being written to FileMaker.
- Delta Apply (Line-targeted): Edits specific lines in your existing script based on a native delta plan.
- Full Script Apply: Writes an entire script body for new scripts or complete refactors.
- Automatic Routing: You don’t have to select the target lines before clicking Apply Code. Genie uses the original line-mapping context to apply edits precisely where they belong.
- Safety: Apply stops and reports an error if the editor state changes or the wrong script is front-most.
Best practices
Section titled “Best practices”- Keep Script Workspace front-most before copy/paste/apply actions.
- Use Add Selection for live Script Workspace context and Add Scripts for attached multi-script context.
- If a command fails, run one manual
Cmd+Cin Script Workspace and retry.